diff options
author | 2021-11-17 18:18:26 +0400 | |
---|---|---|
committer | 2021-11-17 18:18:26 +0400 | |
commit | 98fad42bff5493335653ad1a4a28533cea93aefc (patch) | |
tree | 3be471aab8417cb54d9de178cde304d3477bce00 /dev/docker-compose.yaml | |
parent | Initial commit (diff) | |
parent | Disable testing in actions workflow. (diff) |
Merge pull request #1 from python-discord/mbaruh/setupv1.0.0
Diffstat (limited to 'dev/docker-compose.yaml')
-rw-r--r-- | dev/docker-compose.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml new file mode 100644 index 00000000..e1dca5bb --- /dev/null +++ b/dev/docker-compose.yaml @@ -0,0 +1,27 @@ +version: "3.9" + +x-logging: &logging + logging: + driver: "json-file" + options: + max-file: "5" + max-size: "10m" + +x-restart-policy: &restart_policy + restart: unless-stopped + +services: + botcore: + <<: *logging + <<: *restart_policy + build: + context: . + dockerfile: Dockerfile + container_name: botcore + + volumes: + - ./logs:/bot/logs + - .:/bot:ro + + env_file: + - .env |