/
concierge-dev.conf
54 lines (43 loc) · 1.23 KB
/
concierge-dev.conf
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
ditto {
concierge {
http {
hostname = "0.0.0.0"
port = 8081 # for local development
port = ${?HTTP_PORT}
}
cluster {
instance-index = 0
instance-index = ${?INSTANCE_INDEX}
}
mongo {
hostname = "localhost"
hostname = ${?DOCKER_HOST}
hostname = ${?MONGO_HOSTNAME}
port = 27017
port = ${?MONGO_PORT}
database = "concierge"
#authentication = "user:password@"
}
health-check {
enabled = true
persistence {
enabled = true
}
}
metrics.prometheus.port = 9012
}
services-utils-config.mongodb.uri = "mongodb://"${?ditto.concierge.mongo.authentication}${ditto.concierge.mongo.hostname}":"${ditto.concierge.mongo.port}"/"${ditto.concierge.mongo.database}
}
akka.management.http.port = 25550
akka.remote.artery {
canonical.hostname = "127.0.0.1"
canonical.port = 2555
canonical.port = ${?REMOTE_PORT}
advanced.idle-cpu-level = 1 # for development, no max throughput required
}
akka.cluster {
seed-nodes = [
"akka://ditto-cluster@127.0.0.1:2552", # port of the policy service to join in cluster
"akka://ditto-cluster@"${akka.remote.artery.canonical.hostname}":"${akka.remote.artery.canonical.port}
]
}