Add traefik healthcheck

This commit is contained in:
2025-07-01 17:31:13 +02:00
parent 696ee86d78
commit f5bbe2b949
2 changed files with 9 additions and 3 deletions

View File

@@ -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:

View File

@@ -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