Skip to content
Snippets Groups Projects
Commit 7edd2f30 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

added nginx healthcheck url

parent ccb03fbd
No related branches found
No related tags found
2 merge requests!1973Development,!1934Resolve "Update Images"
...@@ -11,6 +11,11 @@ server { ...@@ -11,6 +11,11 @@ server {
try_files $uri $uri/ /index.php?$query_string; try_files $uri $uri/ /index.php?$query_string;
} }
location /health-check/nginx {
access_log off;
return 200 "healthy\n";
}
location ~ \.php$ { location ~ \.php$ {
try_files $uri /index.php =404; try_files $uri /index.php =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
......
...@@ -31,7 +31,7 @@ services: ...@@ -31,7 +31,7 @@ services:
ports: ports:
- 8080:8080 - 8080:8080
healthcheck: healthcheck:
test: "curl -f http://nginx:8080/health-check/liveness" test: "curl -f http://nginx:8080/health-check/nginx"
scheduler: scheduler:
build: build:
<<: *fpm_build <<: *fpm_build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment