added docker

This commit is contained in:
Subinacls
2026-06-08 21:20:20 -04:00
parent fc9845772d
commit 9ca7d35ce0
4 changed files with 108 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
version: "3.9"
services:
excommunicado:
build: .
container_name: excommunicado-bot
restart: unless-stopped
env_file:
- .env
volumes:
- ./data:/app/data
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD", "python", "-c", "import sys; sys.exit(0)"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s