-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-template.edn
50 lines (50 loc) · 2.58 KB
/
config-template.edn
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
;; vim: ft=clojure
{:prod {: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/user "user"
;; :biff.xtdb.jdbc/password "JDBC_PASSWORD" ; Leave this as-is, and update secrets.env
;; :biff.xtdb.jdbc/host "host"
;; :biff.xtdb.jdbc/port 5432
;; :biff.xtdb.jdbc/dbname "dbname"
:biff/base-url "https://example.com"
;; Postmark is used to send email sign-in links. Create an account at
;; https://postmarkapp.com
:postmark/api-key "POSTMARK_API_KEY"
;; Change to the address of your sending identity. Set a reply-to
;; address on your sending identity if you want to receive replies and
;; your from address isn't configured for receiving.
:postmark/from "[email protected]"
;; 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 "RECAPTCHA_SECRET_KEY"
:biff.beholder/enabled false
:biff.middleware/cookie-secret "COOKIE_SECRET"
:biff/jwt-secret "JWT_SECRET"}
:dev {:merge [:prod]
:biff.beholder/enabled true
:biff/host "0.0.0.0"
:biff/port 8080
:biff/base-url "http://localhost:8080"
:biff.xtdb/topology :standalone
:biff.middleware/secure false}
:tasks {;; Set this if the auto-detection doesn't work
;; Possible values: macos-x64, macos-arm64, linux-x64, linux-arm64
:biff.tasks/tailwind-build nil
:biff.tasks/clj-args ["-J-XX:-OmitStackTraceInFastThrow"
"-J-XX:+CrashOnOutOfMemoryError"
"-J-Duser.timezone=UTC"
"-M" "-m" "com.spicy"
"--port" "7888"
"--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor]"]
:biff.tasks/on-soft-deploy "\"(com.spicy/on-save @com.spicy/system)\""
;; Replace "master" with e.g. "main:master" or "dev:master" if you
;; want to deploy a different branch, for example:
;:biff.tasks/deploy-cmd ["git" "push" "prod" "main:master"]
:biff.tasks/deploy-cmd ["git" "push" "prod" "master"]
:biff.tasks/server "example.com"}}