aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 6cf5e9bd..24eeafe0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,15 +8,24 @@ services:
init: true
restart: always
+ depends_on:
+ - redis
environment:
- - SEASONALBOT_TOKEN=yourtokenhere
- - SEASONALBOT_DEBUG=true
- # - SEASONALBOT_GUILD=
- # - SEASONALBOT_ADMIN_ROLE_ID=
- # - CHANNEL_ANNOUNCEMENTS=
- # - CHANNEL_DEVLOG=
+ - SEASONALBOT_TOKEN
+ - SEASONALBOT_DEBUG
+ - SEASONALBOT_GUILD
+ - SEASONALBOT_ADMIN_ROLE_ID
+ - CHANNEL_DEVLOG
+ - CHANNEL_SEASONALBOT_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"