-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.namespaced-example.edn
89 lines (79 loc) · 4.27 KB
/
config.namespaced-example.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{;; server (server)
:triangulum.server/http-port 8080
:triangulum.server/https-port 8443
:triangulum.server/nrepl false
:triangulum.server/nrepl-port 5555
:triangulum.server/nrepl-bind "127.0.0.1"
:triangulum.server/cider-nrepl true
:triangulum.server/mode "dev"
:triangulum.server/log-dir "logs"
:triangulum.server/handler product-ns.routing/handler
:triangulum.server/keystore-file "keystore.pkcs12"
:triangulum.server/keystore-type "pkcs12"
:triangulum.server/keystore-password "foobar"
;; handler (server)
:triangulum.handler/not-found-handler product-ns.handlers/not-found-handler
:triangulum.handler/redirect-handler product-ns.handlers/redirect-handler
:triangulum.handler/route-authenticator product-ns.handlers/route-authenticator
:triangulum.handler/routing-tables [backend-libary-ns.routing/routes product-ns.routing/routes]
:triangulum.handler/bad-tokens #{".php"}
:triangulum.handler/truncate-request false
:triangulum.handler/private-request-keys #{:base64Image :plotFileBase64 :sampleFileBase64}
:triangulum.handler/private-response-keys #{}
:triangulum.handler/upload-max-size-mb 100
:triangulum.handler/upload-max-file-count 10
;; workers (server)
:triangulum.worker/workers [{:triangulum.worker/name "scheduler"
:triangulum.worker/start product-ns.jobs/start-scheduled-jobs!
:triangulum.worker/stop product-ns.jobs/stop-scheduled-jobs!}]
;; response (server)
:triangulum.response/response-type :json ; :edn or :transit
;; views (app)
:triangulum.views/title {:en "Product name in English"
:es "Product name in Spanish"}
:triangulum.views/description {:en "Description of the product in English"
:es "Description of the product in Spanish"}
:triangulum.views/keywords {:en "english keywords, satellite imagery, collection, monitoring, fire"
:es "spanish keywords, satellite imagery, collection, monitoring, fire"}
:triangulum.views/extra-head-tags [[:meta {:name "viewport" :content "width=device-width, user-scalable=no"}]
[:link {:rel "manifest" :href "/favicon/site.webmanifest"}]
[:link {:rel "shortcut icon" :href "/favicon/favicon.ico"}]]
:triangulum.views/gtag-id "G-..."
:triangulum.views/static-css-files ["/css/my_global.css"] ; in resources/public/
:triangulum.views/static-js-files ["/js/jquery-3.4.1.min.js"] ; in resources/public/
:triangulum.views/get-user-lang product-ns.api/get-user-lang
:triangulum.views/js-init "/src/js/main.jsx" ; for Javascript projects
:triangulum.views/cljs-init product-ns.client/init ; for ClojureScript projects
:triangulum.views/client-keys {:mapbox-token "token123"}
;; git (app)
:triangulum.git/tags-url "https://gitlab.sig-gis.com/api/v4/projects/<PROJECT_ID>/repository/tags"
;; database (database)
:triangulum.database/host "localhost"
:triangulum.database/port 5432
:triangulum.database/dbname "app-name"
:triangulum.database/user "app-name"
:triangulum.database/password "app-name"
;; build-db (database)
:triangulum.build-db/admin-pass "postgres-password"
:triangulum.build-db/dev-data false
:triangulum.build-db/file "db-backup.custom"
:triangulum.build-db/verbose true
;; email (mail)
:triangulum.email/host "smtp.gmail.com"
:triangulum.email/user ""
:triangulum.email/pass ""
:triangulum.email/tls true
:triangulum.email/port 587
:triangulum.email/base-url "https://my.domain/"
;; https (https)
:triangulum.https/email "[email protected]"
:triangulum.https/domain "app.sig-gis.com"
:triangulum.https/path "/etc/letsencrypt"
:triangulum.https/cert-only false
:triangulum.https/webroot "./resources/public"
;; product-ns (my-keys)
:product-ns.py-interop/ee-account "[email protected]"
:product-ns.py-interop/ee-key-path "gee-auth-key.json"
:product-ns.views/mapbox-token "pk..."
:product-ns.views/mapquest-key "GF..."
:product-ns.proxy/nicfi-key "e5..."}