-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
59 lines (56 loc) · 1.38 KB
/
docker-compose.yaml
File metadata and controls
59 lines (56 loc) · 1.38 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
services:
minio:
image: minio/minio:latest
container_name: aia_minio
command: server /data --console-address ":9001"
environment:
# For local development only — override via env file or CI in real deployments
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin123
ports:
- "9000:9000" # S3-compatible API
- "9001:9001" # MinIO web console
volumes:
- minio_data:/data
restart: unless-stopped
healthcheck:
test:
[
"CMD-SHELL",
"curl -f http://127.0.0.1:9000/minio/health/ready || exit 1",
]
interval: 30s
timeout: 5s
retries: 5
start_period: 10s
networks:
- localdev
postgres:
image: postgres:17-alpine
container_name: aia_postgres
environment:
# For local development only — override as appropriate
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpassword
POSTGRES_DB: submissions_db
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U pguser -d submissions_db || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
networks:
- localdev
volumes:
minio_data:
name: aia_minio_data
pgdata:
name: aia_pgdata
networks:
localdev:
driver: bridge