0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 08:14:46 +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

@ -31,6 +31,8 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
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