-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.09 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.09 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
services:
postgres:
image: postgres:18
volumes:
- db_postgres:/var/lib/postgresql
ports:
- "5433:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=open-schedule
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres -d open-schedule" ]
interval: 10s
timeout: 5s
retries: 5
mailpit:
image: axllent/mailpit:latest
restart: unless-stopped
ports:
- "1026:1025"
- "8026:8025"
environment:
MP_SMTP_AUTH_ACCEPT_ANY: "1"
MP_SMTP_AUTH_ALLOW_INSECURE: "1"
minio:
image: minio/minio:latest
command: server /data --console-address ":9001"
ports:
- "9000:9000" # S3-compatible API
- "9001:9001" # MinIO console
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- minio_data:/data
healthcheck:
test: [ "CMD-SHELL", "curl -f http://localhost:9000/minio/health/live || exit 1" ]
interval: 15s
timeout: 5s
retries: 5
volumes:
db_postgres:
minio_data: