diff options
| author | 2019-09-23 18:26:26 +1000 | |
|---|---|---|
| committer | 2019-09-23 18:26:26 +1000 | |
| commit | 083759b2cca39a7a7e49fa30ce6c9bf8f5319a1d (patch) | |
| tree | 2296c439ab6ab3d73cbda0b4531e6265d9424242 /docker-compose.yml | |
| parent | Merge pull request #270 from python-discord/flake8-annotations (diff) | |
| parent | Reflect persist module changes in hacktober cog. (diff) | |
Docker Refining & Persistent Data Support (#273)
Docker Refining & Persistent Data Support
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 |