-
Notifications
You must be signed in to change notification settings - Fork 31
/
rmq-init-setup.yaml
86 lines (78 loc) · 2.63 KB
/
rmq-init-setup.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
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
version: "3.9"
networks:
overlay-net:
external: true
driver: overlay
services:
rmq-init-setup:
image: ghcr.io/datakaveri/rabbitmq-init:1.0.2
deploy:
replicas: 1
restart_policy:
condition: on-failure
environment:
- RMQ_HOST=tasks.rabbitmq:15672
networks:
- overlay-net
configs:
- source: rmq-init-config
target: /usr/share/app/init-config.json
secrets:
- source: admin-password
target: /usr/share/app/secrets/passwords/admin-password
- source: rs-password
target: /usr/share/app/secrets/passwords/rs-password
- source: lip-password
target: /usr/share/app/secrets/passwords/lip-password
- source: cat-password
target: /usr/share/app/secrets/passwords/cat-password
- source: profanity-cat-password
target: /usr/share/app/secrets/passwords/profanity-cat-password
- source: fs-password
target: /usr/share/app/secrets/passwords/fs-password
- source: gis-password
target: /usr/share/app/secrets/passwords/gis-password
- source: di-password
target: /usr/share/app/secrets/passwords/di-password
- source: logstash-password
target: /usr/share/app/secrets/passwords/logstash-password
- source: rs-proxy-adapter-password
target: /usr/share/app/secrets/passwords/rs-proxy-adapter-password
- source: rs-proxy-password
target: /usr/share/app/secrets/passwords/rs-proxy-password
- source: dmp-apd-password
target: /usr/share/app/secrets/passwords/dmp-apd-password
- source: acl-apd-password
target: /usr/share/app/secrets/passwords/acl-apd-password
configs:
rmq-init-config:
file: ./secrets/init-config.json
secrets:
admin-password:
file: ./secrets/passwords/admin-password
rs-password:
file: ./secrets/passwords/rs-password
lip-password:
file: ./secrets/passwords/lip-password
cat-password:
file: ./secrets/passwords/cat-password
profanity-cat-password:
file: ./secrets/passwords/profanity-cat-password
fs-password:
file: ./secrets/passwords/fs-password
gis-password:
file: ./secrets/passwords/gis-password
di-password:
file: ./secrets/passwords/di-password
logstash-password:
file: ./secrets/passwords/logstash-password
rs-proxy-adapter-password:
file: ./secrets/passwords/rs-proxy-adapter-password
rs-proxy-password:
file: ./secrets/passwords/rs-proxy-password
auditing-password:
file: ./secrets/passwords/auditing-password
dmp-apd-password:
file: ./secrets/passwords/dmp-apd-password
acl-apd-password:
file: ./secrets/passwords/acl-apd-password