mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-17 11:55:08 +01:00
Healthcheck moved to service_started for now
This commit is contained in:
parent
7ce555bae0
commit
a13b484079
24 changed files with 40 additions and 33 deletions
|
@ -41,7 +41,8 @@ services:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: ["curl", "-f", "http://nc"]
|
# test: curl -f http://nc
|
||||||
interval: "1s"
|
# 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
|
||||||
|
|
|
@ -31,6 +31,8 @@ services:
|
||||||
- MYSQL_DATABASE=nextcloud
|
- MYSQL_DATABASE=nextcloud
|
||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: ["curl", "-f", "http://nc"]
|
# test: curl -f http://nc
|
||||||
interval: "1s"
|
# 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
|
||||||
|
|
|
@ -29,6 +29,8 @@ services:
|
||||||
- POSTGRES_DB=nextcloud
|
- POSTGRES_DB=nextcloud
|
||||||
- POSTGRES_USER=nextcloud
|
- POSTGRES_USER=nextcloud
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: ["curl", "-f", "http://nc"]
|
# test: curl -f http://nc
|
||||||
interval: "1s"
|
# 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
|
||||||
|
|
|
@ -8,6 +8,8 @@ services:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
#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", "-f", "http://nc"]
|
# test: curl -f http://nc
|
||||||
interval: "1s"
|
# 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
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
image: greencoding/gcb_playwright:v3
|
image: greencoding/gcb_playwright:v3
|
||||||
depends_on:
|
depends_on:
|
||||||
nc:
|
nc:
|
||||||
condition: service_healthy
|
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Add table
Reference in a new issue