Healthchecks hinzugefügt

This commit is contained in:
2026-01-30 16:04:41 +01:00
parent afa0faa9d4
commit 70ff593d92
3 changed files with 34 additions and 5 deletions
+7
View File
@@ -4,6 +4,7 @@ services:
container_name: nginx
labels:
- wud.watch=true
- com.hanold.environment=production
deploy:
resources:
limits:
@@ -17,4 +18,10 @@ services:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
- ./snippets:/snippets
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
networks: {}