services:
  discord-app:
    # image: manticorum67/major-domo-discordapp:1.5
    image: manticorum67/major-domo-discordapp:latest
    restart: unless-stopped
    volumes:
      # - ./storage:/usr/src/app/storage
      # - ./logs:/usr/src/app/logs
      - ./logs:/app/logs
      - ./storage:/app/data
    environment:
      - PYTHONBUFFERED=0
      - BOT_TOKEN=${BOT_TOKEN}
      - GUILD_ID=${GUILD_ID}
      - API_TOKEN=${API_TOKEN}
      - TESTING=${TESTING}
      - LOG_LEVEL=${LOG_LEVEL}
      - TZ=${TZ}
      - DB_URL=${DB_URL}
      - HELP_EDITOR_ROLE_NAME=${HELP_EDITOR_ROLE_NAME}
      - ENVIRONMENT=${ENVIRONMENT}
      - OFFSEASON_FLAG=${OFFSEASON_FLAG}
    networks:
      - backend

networks:
  backend:
    driver: bridge

