Implement health check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9cb65636b2
commit
84fed5f21d
@ -19,6 +19,12 @@ services:
|
||||
target: /etc/traefik/file-provider.yml
|
||||
networks:
|
||||
- proxy
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO", "-", "http://localhost:80/ping"]
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 10s
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
@ -38,7 +44,7 @@ networks:
|
||||
|
||||
configs:
|
||||
traefik_yml:
|
||||
name: traefik_traefik_yml_v1
|
||||
name: traefik_traefik_yml_v2
|
||||
file: traefik.yml
|
||||
file_provider:
|
||||
name: traefik_file_provider_v1
|
||||
|
@ -27,6 +27,9 @@ entrypoints:
|
||||
gitea-ssh:
|
||||
address: ":2222"
|
||||
|
||||
ping:
|
||||
entryPoint: web
|
||||
|
||||
certificatesResolvers:
|
||||
staging:
|
||||
acme:
|
||||
|
Reference in New Issue
Block a user