services: copyparty: image: copyparty/ac:latest container_name: copyparty volumes: - ./config:/cfg - ./data:/w networks: nw-caddy: depends_on: caddy: condition: service_healthy stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal healthcheck: test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset"] interval: 15m timeout: 2s retries: 5 start_period: 15s