Files
botPillbox/docker-compose.yml
2026-01-06 13:32:39 +07:00

22 lines
466 B
YAML

services:
pill-bot:
build: .
container_name: pill-reminder-bot
restart: unless-stopped
environment:
- TZ=${TZ:-Europe/Moscow}
env_file:
- .env
volumes:
- ./data:/app/data
healthcheck:
test: ["CMD-SHELL", "pgrep -f python || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"