draincloud-beam-core/docker-compose.yaml

34 lines
727 B
YAML
Raw Permalink Normal View History

2024-08-31 17:42:31 +00:00
services:
database:
image: postgres:16
container_name: draincloud-core-db
env_file:
- ./.db.env
volumes:
- draincore-data:/var/lib/postgresql/data
ports:
- 5432:5432
2024-09-02 21:48:58 +00:00
minio:
image: quay.io/minio/minio:RELEASE.2024-08-29T01-40-52Z
command: server --console-address ":9001" http://minio/data{1...2}
hostname: minio
volumes:
- data-1:/data1
- data-2:/data2
expose:
- "9000"
- "9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 5s
retries: 5
2024-08-31 17:42:31 +00:00
volumes:
2024-09-02 21:48:58 +00:00
draincore-data:
data-1:
data-2: