Repository navigation
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
76 lines (72 loc) · 1.54 KB
/
Copy pathdocker-compose.prod.yml
File metadata and controls
76 lines (72 loc) · 1.54 KB
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
services:
website:
image: codingcoffee/dummie-website
restart: unless-stopped
ports:
- 8080:8080
environment:
CONSOLE_URL: http://localhost:1323
control:
image: codingcoffee/dummie-control
restart: unless-stopped
ports:
- 1323:1323
depends_on:
postgres:
condition: service_healthy
rustfs:
condition: service_healthy
env_file:
- control/.env
clickhouse:
image: clickhouse/clickhouse-server:26.7.3.19
restart: unless-stopped
cap_add:
- NET_ADMIN
- NET_RAW
- SYS_NICE
ports:
- 8123:8123
- 9010:9000
volumes:
- ./clickhouse-data:/var/lib/clickhouse/
env_file:
- .clickhouse.env
rustfs:
image: rustfs/rustfs:1.0.0-beta.10
security_opt:
- "no-new-privileges:true"
env_file:
- .rustfs.env
ports:
- 9000:9000
- 9001:9001
volumes:
- ./rustfs-data:/data
- ./rustfs-logs:/logs
restart: unless-stopped
healthcheck:
test:
[
"CMD",
"sh", "-c",
"curl -f http://127.0.0.1:9000/health"
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
postgres:
image: postgres:18.4-alpine3.24
restart: unless-stopped
ports:
- 5432:5432
volumes:
- ./postgres-data:/var/lib/postgresql/18/docker
env_file:
- .postgres.env
healthcheck:
test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\""
interval: 10s
timeout: 5s
retries: 5