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
|
target: /etc/traefik/file-provider.yml
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "-qO", "-", "http://localhost:80/ping"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 10
|
||||||
|
start_period: 10s
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
@ -38,7 +44,7 @@ networks:
|
|||||||
|
|
||||||
configs:
|
configs:
|
||||||
traefik_yml:
|
traefik_yml:
|
||||||
name: traefik_traefik_yml_v1
|
name: traefik_traefik_yml_v2
|
||||||
file: traefik.yml
|
file: traefik.yml
|
||||||
file_provider:
|
file_provider:
|
||||||
name: traefik_file_provider_v1
|
name: traefik_file_provider_v1
|
||||||
|
@ -27,6 +27,9 @@ entrypoints:
|
|||||||
gitea-ssh:
|
gitea-ssh:
|
||||||
address: ":2222"
|
address: ":2222"
|
||||||
|
|
||||||
|
ping:
|
||||||
|
entryPoint: web
|
||||||
|
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
staging:
|
staging:
|
||||||
acme:
|
acme:
|
||||||
|
Reference in New Issue
Block a user