This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
application.conf
71 lines (64 loc) · 1.53 KB
/
application.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
application {
api {
host = "0.0.0.0"
port = 8080
port = ${?API_PORT}
hello-message = "Hello from SoftwareMill!"
}
}
akka {
cluster {
seed-nodes = []
seed-nodes = ${?SEED_NODES}
}
coordinated-shutdown.run-by-jvm-shutdown-hook = on //this is the default value
cluster.downing-provider-class = "tanukki.akka.cluster.autodown.MajorityLeaderAutoDowning"
custom-downing {
stable-after = 10s
majority-leader-auto-downing {
majority-member-role = ""
down-if-in-minority = true
shutdown-actor-system-on-resolution = true
}
}
actor {
provider = "akka.cluster.ClusterActorRefProvider"
}
remote {
log-remote-lifecycle-events = on
netty.tcp {
hostname = "127.0.0.1"
hostname = ${?HOSTNAME}
bind-hostname = 0.0.0.0
port = 2551
port = ${?PORT}
}
}
discovery {
method = kubernetes-api
method = ${?DISCOVERY_METHOD}
kubernetes-api {
pod-namespace = "default"
pod-namespace = ${?K8S_NAMESPACE}
pod-label-selector = "app=akka-simple-cluster"
pod-label-selector = ${?K8S_SELECTOR}
pod-port-name = "management"
pod-port-name = ${?K8S_MANAGEMENT_PORT}
}
}
management {
http {
hostname = "127.0.0.1"
hostname = ${?HOSTNAME}
bind-hostname = "0.0.0.0"
port = 8558
bind-port = 8558
}
cluster.bootstrap {
contact-point-discovery {
required-contact-point-nr = 2
required-contact-point-nr = ${?REQUIRED_CONTACT_POINTS}
}
}
}
}