aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-30 14:48:49 +0200
committerGravatar GitHub <[email protected]>2019-09-30 14:48:49 +0200
commit6120f9d90272cab33aa1da857dbfaeb1b5adbd9a (patch)
tree740c8bd789e24ca22913caad26bcd5897cd6d270 /docker-compose.yml
parentEdit dates (diff)
parentMerge pull request #276 from python-discord/update-flake8-annotations (diff)
Merge branch 'master' into date-fix
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 00000000..f2f4b056
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,24 @@
+version: "3.7"
+services:
+ seasonalbot:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ container_name: seasonalbot
+ init: true
+
+ restart: always
+
+ environment:
+ - SEASONALBOT_TOKEN=yourtokenhere
+ - SEASONALBOT_DEBUG=true
+ # - SEASONALBOT_GUILD=
+ # - SEASONALBOT_ADMIN_ROLE_ID=
+ # - CHANNEL_ANNOUNCEMENTS=
+ # - CHANNEL_DEVLOG=
+ # - CHANNEL_SEASONALBOT_CHAT=
+ # - SEASON_OVERRIDE=
+
+ volumes:
+ - /opt/pythondiscord/seasonalbot/log:/bot/bot/log
+ - /opt/pythondiscord/seasonalbot/data:/bot/data