health: stabilize wger startup

This commit is contained in:
Brad Stein 2026-01-14 23:26:07 -03:00
parent 0733127039
commit 3af97973e0
2 changed files with 19 additions and 5 deletions

View File

@ -5,11 +5,11 @@ upstream wger {
server {
listen 8080;
client_body_temp_path /tmp/nginx/client_body 1 2;
proxy_temp_path /tmp/nginx/proxy 1 2;
fastcgi_temp_path /tmp/nginx/fastcgi 1 2;
uwsgi_temp_path /tmp/nginx/uwsgi 1 2;
scgi_temp_path /tmp/nginx/scgi 1 2;
client_body_temp_path /tmp/client_body 1 2;
proxy_temp_path /tmp/proxy 1 2;
fastcgi_temp_path /tmp/fastcgi 1 2;
uwsgi_temp_path /tmp/uwsgi 1 2;
scgi_temp_path /tmp/scgi 1 2;
location = /api/v2/register {
return 404;

View File

@ -155,6 +155,13 @@ spec:
mountPath: /home/wger/static
- name: wger-media
mountPath: /home/wger/media
startupProbe:
httpGet:
path: /api/v2/version/
port: app
failureThreshold: 60
periodSeconds: 10
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /api/v2/version/
@ -196,6 +203,13 @@ spec:
mountPath: /wger/static
- name: wger-media
mountPath: /wger/media
startupProbe:
httpGet:
path: /api/v2/version/
port: http
failureThreshold: 60
periodSeconds: 10
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /api/v2/version/