forked from minvws/nl-kat-coordination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.release-example.yml
155 lines (142 loc) · 3.02 KB
/
docker-compose.release-example.yml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
version: "3.9"
services:
rabbitmq:
restart: on-failure
image: "rabbitmq:3.11-management"
ports:
- "127.0.0.1:5672:5672"
- "127.0.0.1:15672:15672"
healthcheck:
test: ["CMD", "rabbitmqctl", "status"]
interval: 5s
retries: 10
env_file:
- .env
postgres:
image: postgres:15
shm_size: 256MB
ports:
- "0.0.0.0:5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
- ./init-user-db.sh:/docker-entrypoint-initdb.d/init-user-db.sh
env_file:
- .env
environment:
APPS: "ROCKY BYTES KATALOGUS SCHEDULER"
crux:
image: "ghcr.io/dekkers/xtdb-http-multinode:v1.0.6"
restart: on-failure
ports:
- "127.0.0.1:3000:3000"
volumes:
- xtdb-data:/var/lib/xtdb
octopoes_api:
restart: on-failure
depends_on:
- crux
ports:
- "127.0.0.1:8001:80"
image: "ghcr.io/minvws/nl-kat-octopoes:${KAT_VERSION}"
command: web
env_file:
- .env
octopoes_api_worker:
restart: on-failure
depends_on:
- crux
- rabbitmq
image: "ghcr.io/minvws/nl-kat-octopoes:${KAT_VERSION}"
command: worker-beat
env_file:
- .env
boefje:
restart: on-failure
depends_on:
- rabbitmq
- bytes
image: "ghcr.io/minvws/nl-kat-boefjes:${KAT_VERSION}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
replicas: 1
command: boefje
env_file:
- .env
normalizer:
restart: on-failure
depends_on:
- rabbitmq
- bytes
image: "ghcr.io/minvws/nl-kat-boefjes:${KAT_VERSION}"
deploy:
replicas: 1
command: normalizer
env_file:
- .env
rocky:
restart: on-failure
depends_on:
- octopoes_api_worker
- octopoes_api
- postgres
- boefje
- normalizer
- katalogus
- scheduler
ports:
- "127.0.0.1:8000:8000"
image: "ghcr.io/minvws/nl-kat-rocky:${KAT_VERSION}"
env_file:
- .env
environment:
- DATABASE_MIGRATION=true
bytes:
restart: on-failure
depends_on:
- postgres
ports:
- "127.0.0.1:8002:8000"
image: "ghcr.io/minvws/nl-kat-bytes:${KAT_VERSION}"
env_file:
- .env
environment:
- BYTES_DATA_DIR=/data
volumes:
- bytes-data:/data
katalogus:
restart: on-failure
depends_on:
- postgres
image: "ghcr.io/minvws/nl-kat-boefjes:${KAT_VERSION}"
command: katalogus
ports:
- "127.0.0.1:8003:8000"
env_file:
- .env
environment:
- DATABASE_MIGRATION=true
scheduler:
restart: on-failure
image: "ghcr.io/minvws/nl-kat-mula:${KAT_VERSION}"
ports:
- "127.0.0.1:8004:8000"
env_file:
- .env
depends_on:
- postgres
- boefje
- normalizer
- octopoes_api
- katalogus
keiko:
restart: on-failure
image: "ghcr.io/minvws/nl-kat-keiko:${KAT_VERSION}"
ports:
- "127.0.0.1:8005:8000"
env_file:
- .env
volumes:
postgres-data:
bytes-data:
xtdb-data: