-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
config.edn.TEMPLATE
36 lines (36 loc) · 1.77 KB
/
config.edn.TEMPLATE
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
32
33
34
35
36
;; vim: ft=clojure
{:prod {:com.example/enable-web true
:com.example/enable-worker true
:biff.xtdb/dir "storage/xtdb"
:biff.xtdb/topology :standalone
;; Standalone topology in production isn't recommended for anything
;; serious. You can uncomment the following to use managed postgres
;; instead.
;; :biff.xtdb/topology :jdbc
;; :biff.xtdb.jdbc/jdbcUrl "postgresql://user:password@host:port/dbname?sslmode=require"
:biff/base-url "https://example.com"
;; Mailersend is used to send email sign-in links. Create an account at
;; https://mailersend.com/.
:mailersend/api-key nil
:mailersend/defaults {;; Your from address must use the domain you've verified in MailerSend.
[:from :email] "hello@mail.example.com"
[:from :name] "My Application"
;; Change this to your personal address/wherever you'd like replies to go.
[:reply_to :email] "hello@example.com"
[:reply_to :name] "My Application"}
;; Recaptcha is used to protect your sign-in page. Go to
;; https://www.google.com/recaptcha/about/ and add a site. Select v2
;; invisible. Add localhost to your list of allowed domains.
:recaptcha/site-key nil
:recaptcha/secret-key nil
:biff.middleware/cookie-secret nil
:biff/jwt-secret nil}
:dev {:merge [:prod]
;; See com.example.feat.worker
;; :com.example/enable-worker false
:com.example/enable-beholder true
:biff/host "0.0.0.0"
:biff/port 8080
:biff/base-url "http://localhost:8080"
:biff.xtdb/topology :standalone
:biff.middleware/secure false}}