infrastructure/ansible/roles/minio/files/docker-compose.yml
Jake Howard 3a29c327b7
All checks were successful
/ terraform (push) Successful in 1m0s
/ ansible (push) Successful in 1m47s
Remove version key from compose files
2024-07-15 18:08:14 +01:00

29 lines
890 B
YAML

services:
minio:
image: quay.io/minio/minio:latest
command: server /data --console-address ":9090"
user: "{{ docker_user.id }}"
environment:
- TZ=Europe/London
- MINIO_ROOT_USER=jake
- MINIO_ROOT_PASSWORD={{ vault_minio_root_password }}
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.minio-console.rule=Host(`minio.jakehoward.tech`)
- traefik.http.routers.minio-console.service=minio-console
- traefik.http.services.minio-console.loadbalancer.server.port=9090
- traefik.http.routers.minio-s3.rule=Host(`s3.jakehoward.tech`)
- traefik.http.routers.minio-s3.service=minio-s3
- traefik.http.services.minio-s3.loadbalancer.server.port=9000
volumes:
- /mnt/tank/files/minio:/data
networks:
- default
- traefik
networks:
traefik:
external: true