diff options
author | 2020-11-16 17:28:31 +0200 | |
---|---|---|
committer | 2020-11-16 17:28:31 +0200 | |
commit | 632be08034af7a05c1fa70a3036ef78344049997 (patch) | |
tree | ae7abd39f0fd61f919b32ff7cce8aab7a0cc4437 /docker-compose.yml | |
parent | Relay seasonalbot token and debug to docker-compose.yml (diff) |
Depend bot on redis, add other environment variables + sync files
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index ca4a2aff..0cc3ac4d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,19 +8,22 @@ services: init: true restart: always + depends_on: + - redis environment: - SEASONALBOT_TOKEN=${SEASONALBOT_TOKEN} - SEASONALBOT_DEBUG=${SEASONALBOT_DEBUG} + - SEASONALBOT_GUILD=${SEASONALBOT_GUILD} + - SEASONALBOT_ADMIN_ROLE_ID=${SEASONALBOT_ADMIN_ROLE_ID} + - CHANNEL_DEVLOG=${CHANNEL_DEVLOG} + - CHANNEL_SEASONALBOT_COMMANDS=${CHANNEL_SEASONALBOT_COMMANDS} - 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 + - .:/bot redis: image: redis:latest |