diff options
| author | 2020-11-30 15:18:42 +0100 | |
|---|---|---|
| committer | 2020-11-30 15:18:42 +0100 | |
| commit | 0ad849431eee3cab48485a132df23b0883142cf6 (patch) | |
| tree | d9bd17fbd8f22c45e682079f6e3e565b6e17f61d /docker-compose.yml | |
| parent | "adding xkcd feature" (diff) | |
| parent | Merge pull request #532 from python-discord/sebastiaan/ci/add-core-dev-approv... (diff) | |
Merge branch 'master' into issue-337
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 27 | 
1 files changed, 17 insertions, 10 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 6cf5e9bd..bb6ad6ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,22 +1,29 @@  version: "3.7"  services: -  seasonalbot: +  sir-lancebot:      build:        context: .        dockerfile: Dockerfile -    container_name: seasonalbot +    container_name: sir-lancebot      init: true      restart: always +    depends_on: +      - redis      environment: -      - SEASONALBOT_TOKEN=yourtokenhere -      - SEASONALBOT_DEBUG=true -    # - SEASONALBOT_GUILD= -    # - SEASONALBOT_ADMIN_ROLE_ID= -    # - CHANNEL_ANNOUNCEMENTS= -    # - CHANNEL_DEVLOG= +      - BOT_TOKEN +      - BOT_DEBUG +      - BOT_GUILD +      - BOT_ADMIN_ROLE_ID +      - CHANNEL_DEVLOG +      - CHANNEL_COMMUNITY_BOT_COMMANDS +      - REDIS_HOST=redis      volumes: -      - /opt/pythondiscord/seasonalbot/log:/bot/bot/log -      - /opt/pythondiscord/seasonalbot/data:/bot/data +      - .:/bot + +  redis: +    image: redis:latest +    ports: +      - "127.0.0.1:6379:6379"  |