aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-11-21 00:30:58 +0100
committerGravatar Leon Sandøy <[email protected]>2020-11-21 00:30:58 +0100
commit16417225e7c0bfbb4260d51722c2f68696e7ccd6 (patch)
tree4a22678232104c6bee8c67edeea8a16a8d3e963b /docker-compose.yml
parentMake the bot name less hard-coded. (diff)
Remove references to old name.
I've tried to replace this with generic references where appropriate, but a lot of the time it just doesn't make a lot of sense to do so.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml16
1 files changed, 7 insertions, 9 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 24eeafe0..bb6ad6ac 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,10 +1,10 @@
version: "3.7"
services:
- seasonalbot:
+ sir-lancebot:
build:
context: .
dockerfile: Dockerfile
- container_name: seasonalbot
+ container_name: sir-lancebot
init: true
restart: always
@@ -12,17 +12,15 @@ services:
- redis
environment:
- - SEASONALBOT_TOKEN
- - SEASONALBOT_DEBUG
- - SEASONALBOT_GUILD
- - SEASONALBOT_ADMIN_ROLE_ID
+ - BOT_TOKEN
+ - BOT_DEBUG
+ - BOT_GUILD
+ - BOT_ADMIN_ROLE_ID
- CHANNEL_DEVLOG
- - CHANNEL_SEASONALBOT_COMMANDS
+ - CHANNEL_COMMUNITY_BOT_COMMANDS
- REDIS_HOST=redis
volumes:
- - /opt/pythondiscord/seasonalbot/log:/bot/bot/log
- - /opt/pythondiscord/seasonalbot/data:/bot/data
- .:/bot
redis: