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"