version: '3'
services:
  app:
    image: minio/minio
    restart: always
    labels:
      com.centurylinklabs.watchtower.enable: true
    env_file:
      - .env
      - .secret.env
    volumes:
      - "data:/data"
    command: server --console-address ":9001"
    networks:
      apps:
        aliases:
          - minio

volumes:
  data:

networks:
  apps:
    external: true