-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (48 loc) · 1.35 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (48 loc) · 1.35 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
services:
postgres:
image: postgres:16-alpine
container_name: overup-postgres
restart: unless-stopped
environment:
POSTGRES_USER: overup
POSTGRES_PASSWORD: overup
POSTGRES_DB: overup
ports:
- "5432:5432"
volumes:
- overup_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U overup -d overup"]
interval: 5s
timeout: 5s
retries: 10
# MinIO — the default/primary object store (artifacts + log archives +
# logos). Point the backend at it with:
# MINIO_ENDPOINT=http://localhost:9000
# MINIO_ACCESS_KEY_ID=overup
# MINIO_SECRET_ACCESS_KEY=overup-minio
# MINIO_BUCKET=overup
# The backend creates the bucket at startup if it is missing. Console UI
# at http://localhost:9001 (same credentials). Dev credentials only —
# never reuse them in a real deployment.
minio:
image: minio/minio:latest
container_name: overup-minio
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: overup
MINIO_ROOT_PASSWORD: overup-minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- overup_minio:/data
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 5s
retries: 10
volumes:
overup_pgdata:
overup_minio: