diff options
| author | 2020-11-30 15:18:56 +0100 | |
|---|---|---|
| committer | 2020-11-30 15:18:56 +0100 | |
| commit | 8b5b70c04a82ccc6e941e6c439478335121ae69a (patch) | |
| tree | 4eeb61fe217ac477c49cfdfa97edf697706b2abf /docker-compose.yml | |
| parent | Merge branch 'master' into tic-tac-toe (diff) | |
| parent | Merge pull request #532 from python-discord/sebastiaan/ci/add-core-dev-approv... (diff) | |
Merge branch 'master' into tic-tac-toe
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"  |