-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.edn
55 lines (55 loc) · 2.64 KB
/
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
55
{:http {:port 8012
:session-key-path "sessionkey"
:request-header-size 131072
:send-server-version? false
:cookie-attrs {:http-only true
:secure true
:same-site :strict}
:cookie-name "lupapistunto"
:lupapiste-host "http://localhost:8000"}
:app {:csp {:default-src "'self' localhost:* ws://localhost:*"
:script-src "'self' 'unsafe-inline' 'unsafe-eval'"
:font-src "'self' https://fonts.gstatic.com"
:style-src "'self' 'unsafe-inline' fonts.googleapis.com"
:img-src "'self' data: localhost:* *.lupapiste.fi"}}
:logging {:format :json}
:gcs {:project "lupapiste-dev"
:region "europe-north1"
:storage-class "COLDLINE"
:bucket-prefix "onkalo"}
:backup-gcs {:bucket "onkalo-backup-test-fi"}
:storage {:bucket-suffix "test"
:default-storage-id :gcs}
:elasticsearch {:hosts ["http://127.0.0.1:9200"]
:cluster-name "elasticsearch"
:index-name "document-metadata"
:shards 1
:replicas 0}
:jmxserver {:port 5050}
:mq {:implementation :pubsub ;; Or :pubsub
:topics {:api-usage "local.onkalo.api-usage"}}
:toj {:host "http://localhost:8010"}
:lupapiste-api {:user "onkalo"
:password "basicauth"
:host "http://localhost:8000"}
:frontend {:cdn-host "https://www-qa.lupapiste.fi"}
:api-keys [{:app-id "abcdefg"
:app-key "12356afbsb"}
{:app-id "public"
:app-key "1235678"
:public-only? true}
{:app-id "specific"
:app-key "12345678"
:organizations ["753-R"]}
{:app-id "reader"
:app-key "12345678"
:read-only? true}
{:app-id "docstore"
:app-key "12345678"
:docstore-only? true}
{:app-id "docterminal"
:app-key "23456789"
:docterminal-only? true}
{:app-id "docdepartmental"
:app-key "34567890"
:docdepartmental-only? true}]}