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:
parent
29c83dc2a0
commit
ddb70ca908
3 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ services:
|
||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail --silent http://localhost
|
test: curl --fail --silent http://nc
|
||||||
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
||||||
start_period: "60s"
|
start_period: "60s"
|
||||||
start_interval: "1s"
|
start_interval: "1s"
|
||||||
|
|
|
@ -33,7 +33,7 @@ services:
|
||||||
- POSTGRES_USER=nextcloud
|
- POSTGRES_USER=nextcloud
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail --silent http://localhost
|
test: curl --fail --silent http://nc
|
||||||
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
||||||
start_period: "60s"
|
start_period: "60s"
|
||||||
start_interval: "1s"
|
start_interval: "1s"
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
#volumes:
|
#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
|
# - 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:
|
healthcheck:
|
||||||
test: curl --fail --silent http://localhost
|
test: curl --fail --silent http://nc
|
||||||
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
||||||
start_period: "60s"
|
start_period: "60s"
|
||||||
start_interval: "1s"
|
start_interval: "1s"
|
||||||
|
|
Loading…
Add table
Reference in a new issue