services: web: build: . ports: - "5000:5000" volumes: - ./instance:/app/instance env_file: - .env restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s