-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
106 lines (98 loc) · 2.42 KB
/
docker-compose.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
version: '3.7'
services:
karnak:
container_name: karnak
image: osirixfoundation/karnak:v1.0.3
ports:
- "11112:11119"
- "8080:8081"
environment:
KARNAK_WAIT_FOR: karnak-db:5432
REDIS_HOST: karnak-cache
env_file: karnak.env
depends_on:
- karnak-db
- karnak-cache
logging:
driver: json-file
options:
max-size: "10m"
secrets:
- postgres_karnak_password
- mainzellisteApiKey
- karnak_login_password
networks:
- reverseproxy
- karnak-data
- mainzelliste
karnak-cache:
container_name: karnak-cache
image: redis:6.0.16-alpine3.15
networks:
- karnak-data
karnak-db:
container_name: karnak-db
image: postgres:12.4-alpine
environment:
- POSTGRES_DB=karnak
- POSTGRES_USER=karnak
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_karnak_password
volumes:
- karnak-db-data:/var/lib/postgresql/data
secrets:
- postgres_karnak_password
networks:
- karnak-data
mainzelliste-db:
container_name: mainzelliste-db
image: postgres:9.5-alpine
environment:
- POSTGRES_DB=mainzelliste
- POSTGRES_USER=mainzelliste
- POSTGRES_PASSWORD_FILE=/run/secrets/mainzellisteDbPassword
volumes:
- mainzelliste-db-data:/var/lib/postgresql/data
secrets:
- mainzellisteDbPassword
networks:
- mainzelliste-data
mainzelliste:
container_name: mainzelliste
image: osirixfoundation/karnak-mainzelliste:extid
env_file: mainzelliste.env
secrets:
- mainzellisteDbPassword
- mainzellisteApiKey
- mainzellistePIDK1
- mainzellistePIDK2
- mainzellistePIDK3
depends_on:
- mainzelliste-db
networks:
- mainzelliste
- mainzelliste-data
secrets:
karnak_login_password:
file: secrets/karnak_login_password
postgres_karnak_password:
file: secrets/karnak_postgres_password
oidc_client_secret:
file: secrets/oidc_client_secret
mainzellisteDbPassword:
file: secrets/mainzelliste_postgres_password
mainzellisteApiKey:
file: secrets/mainzelliste_api_key
mainzellistePIDK1:
file: secrets/mainzelliste_pid_k1
mainzellistePIDK2:
file: secrets/mainzelliste_pid_k2
mainzellistePIDK3:
file: secrets/mainzelliste_pid_k3
volumes:
mainzelliste-db-data:
karnak-db-data:
networks:
reverseproxy:
karnak-data:
mainzelliste:
mainzelliste-data: