summaryrefslogtreecommitdiff
path: root/resources/config.sexp.sample
blob: 3f4e06f5bcfdfb38a77b546662a1db7b4d639b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
;;;; -*- mode: clojure; coding: utf-8 -*-

{:database       {;; NOTE: PostgreSQL is the only supported RDBMS.
                  :host "localhost"
                  :port 5432
                  :database "benki"
                  :user "benki"
                  :password ""}
 :websocket-base "ws://localhost:3001"
 :base-uri       "https://localhost:4333"
 :cert-req-base  "https://localhost:4334"
 :tag-base       "example.com"
 :web-port       3001
 :mode           :production   ;or :dev
 :swank          {:enabled true             ;will be assumed true if absent
                  :port    4005
                  :bind    "127.0.0.1"}
 :nrepl          {:enabled true             ;will be assumed true if absent
                  :port    4111
                  :bind    "127.0.0.1"}
 :xmpp           {:enabled      true        ;will be assumed true if absent
                  :user         "benki"
                  :service-name "example.com"
                  :server       "jabber.example.com"
                  :port         5222
                  :password     ""
                  :sasl         true
                  :verify-cert  true
                  :tls          :required}  ;or one of: true, false
 }