aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: 3aec29d55abd45d8175c29541f1dead5cecdb7d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: "3.7"
services:
  seasonalbot:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: seasonalbot
    init: true

    restart: always

    environment:
      - SEASONALBOT_TOKEN=yourtokenhere
      - SEASONALBOT_DEBUG=true
      - REDIS_HOST=redis
    # - SEASONALBOT_GUILD=
    # - SEASONALBOT_ADMIN_ROLE_ID=
    # - CHANNEL_ANNOUNCEMENTS=
    # - CHANNEL_DEVLOG=

    volumes:
      - /opt/pythondiscord/seasonalbot/log:/bot/bot/log
      - /opt/pythondiscord/seasonalbot/data:/bot/data

  redis:
    image: redis:latest
    ports:
      - "127.0.0.1:6379:6379"