-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yaml
58 lines (55 loc) · 1.58 KB
/
config.yaml
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
ignition:
config:
append:
- source: "https://raw.githubusercontent.com/sergey-safarov/kazoo-configs-docker/master/output/main.json"
storage:
files:
- path: "/etc/default/kazoo-docker"
filesystem: root
mode: 0600
overwrite: false
contents:
inline: |
KAZOOVERSION=4.3.47
ZONE=dc1
NODEINDEX=1a
NETNAME=kazoo
KAZOOGATEWAY=192.168.30.1
IPCOUCHDB=192.168.30.16
IPRABBITMQ=192.168.30.17
IPPOSTGRES=192.168.30.18
IPHAPROXY=192.168.30.19
IPDNS=192.168.30.20
IPKAPPS=192.168.30.21
IPECALLMGR=192.168.30.22
IPKAMAILIO=192.168.30.23
IPFREESWITCH=192.168.30.24
IPNGINX=192.168.30.25
IPHOMER=192.168.30.26
DAEMONPASSWORD=change_me
- path: "/etc/rabbitmq/advanced.config"
filesystem: root
mode: 0644
overwrite: false
contents:
inline: |
[
{rabbit,
[%%
%% cluster_formation.peer_discovery_backend = rabbit_peer_discovery_dns
%% cluster_formation.dns.hostname = rmq.discovery
{cluster_formation,
[
{peer_discovery_backend, rabbit_peer_discovery_dns},
{peer_discovery_dns,
[
{hostname, "rmq.discovery"}
]
}
]
},
%% Setting cluster behaviour after split brain
{cluster_partition_handling, autoheal}
]
}
].