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

Connecting to nc instead of localhost as issues with docker proxy can occur

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

View file

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

View file

@ -33,7 +33,7 @@ services:
- POSTGRES_USER=nextcloud
- POSTGRES_HOST=db
healthcheck:
test: curl --fail --silent http://localhost
test: curl --fail --silent http://nc
interval: "1h" # effectively turns repeated healthchecks during runtime off
start_period: "60s"
start_interval: "1s"

View file

@ -12,7 +12,7 @@ services:
#volumes:
# - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
healthcheck:
test: curl --fail --silent http://localhost
test: curl --fail --silent http://nc
interval: "1h" # effectively turns repeated healthchecks during runtime off
start_period: "60s"
start_interval: "1s"