homelab/minio/docker-compose.yml

25 lines
586 B
YAML

version: '3'
services:
minio:
image: minio/minio
volumes:
- ./data:/data
env_file:
- .env
ports:
- "9000:9000"
- "9001:9001"
command: server --console-address ":9001" --address ":9000" /data
labels:
- "traefik.enable=true"
- "traefik.http.services.minio.loadbalancer.server.port=8008"
- "traefik.http.routers.minio.rule=Host(`minio.combava.lan`)"
- "traefik.http.routers.minio.entrypoints=https"
- "traefik.http.routers.minio.tls=true"
networks:
- gateway
networks:
gateway:
external: true