mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-14 18:35: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
|
||||
depends_on:
|
||||
- app
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -29,6 +29,8 @@ services:
|
|||
- POSTGRES_DB=nextcloud
|
||||
- POSTGRES_USER=nextcloud
|
||||
- POSTGRES_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
|
||||
|
|
|
@ -8,6 +8,8 @@ services:
|
|||
- 8080:80
|
||||
#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", "-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
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
image: greencoding/gcb_playwright:v3
|
||||
depends_on:
|
||||
nc:
|
||||
condition: service_healthy
|
||||
condition: service_started # change to service_healthy when Docker CE 25.0 is released which supports start-interval
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
||||
environment:
|
||||
|
|
Loading…
Add table
Reference in a new issue