diff options
| author | 2020-11-23 16:45:43 +0200 | |
|---|---|---|
| committer | 2020-11-23 16:45:43 +0200 | |
| commit | 252ed41579eb4ba9627950d4e225912208e30d00 (patch) | |
| tree | 60eee5c6b2bd1d469ed305590cd97ad378b1ea49 /docker-compose.yml | |
| parent | fix typos in docstring (diff) | |
| parent | Add a banner and fix the README a bit. (diff) | |
Merge branch 'master' into feature/wonder-twins-command
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" |