0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-25 21:00:53 +02:00

Healthcheck moved to service_started for now

This commit is contained in:
Arne Tarara 2024-01-01 09:52:13 +01:00
parent 7ce555bae0
commit a13b484079
No known key found for this signature in database
GPG key ID: 2540198A4079785B
24 changed files with 40 additions and 33 deletions

View file

@ -41,7 +41,8 @@ services:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- app
healthcheck:
test: ["curl", "-f", "http://nc"]
interval: "1s"
# healthcheck:
# test: curl -f http://nc
# interval: "1h" # effectively turns repeated healthchecks during runtime off
# start-period: "1s" # Not yet supported. Will come with Docker CE 25.0
# start-interval: "1s" # Not yet supported. Will come with Docker CE 25.0