-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.05 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.05 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
# Local development services for EPS.
# Postgres 16 (primary DB) + MinIO (S3-compatible object storage).
# Brought up via `pnpm db:up`, torn down via `pnpm db:down`.
services:
postgres:
image: postgres:16-alpine
container_name: eps-postgres
restart: unless-stopped
environment:
POSTGRES_USER: eps
POSTGRES_PASSWORD: eps
POSTGRES_DB: eps
ports:
- "5432:5432"
volumes:
- eps-postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U eps -d eps"]
interval: 5s
timeout: 5s
retries: 10
minio:
image: minio/minio
container_name: eps-minio
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: eps
MINIO_ROOT_PASSWORD: eps-secret
ports:
- "9000:9000"
- "9001:9001"
volumes:
- eps-minio-data:/data
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 5s
retries: 10
volumes:
eps-postgres-data:
eps-minio-data: