--- services: webui: image: {{ work_queue_webui_image }} volumes: - {{ work_queue_webui_data_path }}:/app/data restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:80"] interval: 30s timeout: 10s retries: 3 proxy: image: nginx:alpine ports: - "{{ work_queue_webui_proxy_port }}:80" volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro depends_on: webui: condition: service_healthy restart: unless-stopped