-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
44 lines (44 loc) · 1.15 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
44 lines (44 loc) · 1.15 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:
container_name: craftplan-postgres
image: postgres:16
ports:
- 5432:5432
environment:
- POSTGRES_DB=craftplan_dev
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ./.postgres:/var/lib/postgresql/data:Z
minio:
container_name: craftplan-minio
build:
context: .
dockerfile: Dockerfile.storage
ports:
- "${S3_PORT:-9000}:9000"
environment:
AWS_ACCESS_KEY_ID: minioadmin
AWS_SECRET_ACCESS_KEY: minioadmin
MINIO_ROOT_USER: "${MINIO_ROOT_USER:-minioadmin}"
MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD:-minioadmin}"
S3_BUCKET: craftplan
volumes:
- .seaweedfs:/data:Z
- .minio:/legacy:ro,z
networks:
default:
aliases: [seaweedfs]
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:9000/readyz"]
interval: 5s
timeout: 5s
retries: 30
start_period: "${STORAGE_START_PERIOD:-24h}"
mailpit:
container_name: craftplan-mailpit
image: axllent/mailpit
ports:
- 1025:1025
- 8025:8025