version: "3.7" services: app_proxy: environment: APP_HOST: notediscovery_web_1 APP_PORT: 8000 web: image: ghcr.io/gamosoft/notediscovery:0.24.3@sha256:38df8c7316ff8365c1978ec7227a9fb498d762f694c97ce7ca82142f6eff92c2 user: 1000:1000 restart: on-failure volumes: - ${APP_DATA_DIR}/data:/app/data healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] interval: 60s timeout: 3s retries: 3 start_period: 5s