-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.config.edn
54 lines (54 loc) · 2.8 KB
/
example.config.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
51
52
53
54
;; 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 {:biff.tasks/server "example.com"
:biff.tasks/clj-args ["-J-XX:-OmitStackTraceInFastThrow"
"-J-XX:+CrashOnOutOfMemoryError"
"-J-Duser.timezone=UTC"
"-M" "-m" "tech.jgood.gleanmo"
"--port" "7888"
"--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor]"]
:biff.tasks/on-soft-deploy "\"(tech.jgood.gleanmo/on-save @tech.jgood.gleanmo/system)\""
;; Set this if the auto-detection doesn't work. See
;; https://github.com/tailwindlabs/tailwindcss/releases/latest for possible values (for
;; example: "tailwindcss-macos-arm64").
:biff.tasks/tailwind-file nil
;; Uncomment this line if you're on Windows/don't have rsync and your local branch is
;; called main instead of master:
;:biff.tasks/deploy-cmd ["git" "push" "prod" "main:master"]
:biff.tasks/deploy-cmd ["git" "push" "prod" "master"]
;; Uncomment this line if you have any ssh-related problems:
;:biff.tasks/skip-ssh-agent true
}}