26 lines
620 B
YAML
26 lines
620 B
YAML
services:
|
|
minio:
|
|
image: bitnami/minio:latest
|
|
container_name: minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
networks:
|
|
- s3-net
|
|
volumes:
|
|
- /data/minio:/bitnami/minio/data
|
|
env_file: stack.env
|
|
environment:
|
|
- MINIO_ROOT_USER=${MINIO_ACCESS_KEY}
|
|
- MINIO_ROOT_PASSWORD=${MINIO_SECRET_KEY}
|
|
- MINIO_DEFAULT_BUCKETS=${MINIO_DEFAULT_BUCKETS}
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
|
interval: 30s
|
|
timeout: 20s
|
|
retries: 3
|
|
start_period: 30s
|
|
restart: unless-stopped
|
|
networks:
|
|
s3-net:
|