diff options
author | 2019-09-19 22:46:24 +1000 | |
---|---|---|
committer | 2019-09-19 22:46:24 +1000 | |
commit | 9c23b4ae59449bacddbbf898e30850c691916803 (patch) | |
tree | 9d0a201d11ed4ad1af4fd396e610494018769f04 /docker-compose.yml | |
parent | Merge pull request #270 from python-discord/flake8-annotations (diff) |
Cleanup Dockerfile and CI Build & Push stage
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 24 |
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 |