version: '3.8' services: hottub-webclient: image: hottub-webclient:latest container_name: hottub-webclient entrypoint: python3 command: ["backend/main.py"] volumes: - /path/to/hottub-webclient:/app restart: unless-stopped working_dir: /app healthcheck: test: ["CMD-SHELL", "curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:5000/ | grep -q 200"] interval: 300s timeout: 5s retries: 3 start_period: 1s