Healthchecks hinzugefügt
This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user