-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.edn
24 lines (20 loc) · 951 Bytes
/
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
{;; just keep it as a string to simplify loading
:port #or [#env PORT "3335"]
:database-url #profile {:test "postgres://byf@localhost:5445/byf_test"
;; I should still be able to override the
;; dev DATABASE_URL in dev if I wanted to?
:dev "postgres://byf@localhost:5445/byf"
:default #env DATABASE_URL}
:realm #or [#env REALM "localhost"]
:slack-hook #env SLACK_HOOK
:admin-password #or [#env ADMIN_PASSWORD "secret"]
;; this is only defined when running on Heroku
:git-commit #env HEROKU_SLUG_COMMIT
;; auth related config
:auth-enabled #boolean #or [#env AUTH_ENABLED "false"]
:github-client-id #env GITHUB_CLIENT_ID
:github-client-secret #env GITHUB_CLIENT_SECRET
;; monitoring
:google-analytics-tag #env GOOGLE_ANALYTICS_TAG
:newrelic-license-key #env NEWRELIC_LICENSE_KEY
:newrelic-application-id #env NEWRELIC_APPLICATION_ID}