0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-19 18:36:09 +02:00

Healthcheck start_* where with underscore; Indent was wrong for MariaDB

This commit is contained in:
Arne Tarara 2024-08-16 10:11:23 +02:00
parent a46e5672f7
commit 29c83dc2a0
No known key found for this signature in database
GPG key ID: 2540198A4079785B
4 changed files with 12 additions and 12 deletions

View file

@ -32,11 +32,11 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
healthcheck:
test: curl --fail --silent http://nc
interval: "1h" # effectively turns repeated healthchecks during runtime off
start-period: "60s"
start-interval: "1s"
healthcheck:
test: curl --fail --silent http://nc
interval: "1h" # effectively turns repeated healthchecks during runtime off
start_period: "60s"
start_interval: "1s"
nc:
image: nginx:1.25.1-alpine3.17

View file

@ -34,8 +34,8 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
healthcheck:
healthcheck:
test: curl --fail --silent http://localhost
interval: "1h" # effectively turns repeated healthchecks during runtime off
start-period: "60s"
start-interval: "1s"
start_period: "60s"
start_interval: "1s"

View file

@ -35,5 +35,5 @@ services:
healthcheck:
test: curl --fail --silent http://localhost
interval: "1h" # effectively turns repeated healthchecks during runtime off
start-period: "60s"
start-interval: "1s"
start_period: "60s"
start_interval: "1s"

View file

@ -14,5 +14,5 @@ services:
healthcheck:
test: curl --fail --silent http://localhost
interval: "1h" # effectively turns repeated healthchecks during runtime off
start-period: "60s"
start-interval: "1s"
start_period: "60s"
start_interval: "1s"