Add traefik healthcheck
This commit is contained in:
@@ -5,6 +5,11 @@ services:
|
||||
image: traefik:3
|
||||
container_name: traefik
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: traefik healthcheck
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
networks:
|
||||
- traefik
|
||||
ports:
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# /services/traefik/traefik.yml
|
||||
|
||||
global:
|
||||
checkNewVersion: true
|
||||
sendAnonymousUsage: false
|
||||
|
||||
api: {}
|
||||
|
||||
ping: {}
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: :80
|
||||
@@ -19,8 +22,6 @@ entryPoints:
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
api: {}
|
||||
|
||||
providers:
|
||||
file:
|
||||
directory: /etc/traefik/config
|
||||
|
||||
Reference in New Issue
Block a user