0
0
Fork 0
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:
Arne Tarara 2024-01-01 09:52:13 +01:00
parent 7ce555bae0
commit a13b484079
No known key found for this signature in database
GPG key ID: 2540198A4079785B
24 changed files with 40 additions and 33 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: