-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 1.01 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (40 loc) · 1.01 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
services:
postgres-auth:
image: postgres:16
environment:
POSTGRES_DB: auth_db
POSTGRES_USER: auth
POSTGRES_PASSWORD: authpass
ports:
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U auth -d auth_db"]
interval: 2s
timeout: 5s
retries: 10
postgres-agent:
image: postgres:16
environment:
POSTGRES_DB: agent_db
POSTGRES_USER: agent
POSTGRES_PASSWORD: agentpass
ports:
- "5434:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U agent -d agent_db"]
interval: 2s
timeout: 5s
retries: 10
postgres-deploy:
image: postgres:16
environment:
POSTGRES_DB: deploy_db
POSTGRES_USER: deploy
POSTGRES_PASSWORD: deploypass
ports:
- "5435:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U deploy -d deploy_db"]
interval: 2s
timeout: 5s
retries: 10