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