Add file provider to Traefik for host-based services

Enable dual provider support (Docker + File) to allow routing both containerized services and services running on the host machine. Add dynamic.yml with routes for nginx-based websites (agence66.fr, walter-coiffure.fr) pointing to host gateway IP.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
BeauTroll
2025-12-22 08:34:38 +01:00
parent 4e16685ebe
commit 42eb0058a1
3 changed files with 27 additions and 0 deletions

23
dynamic.yml Normal file
View File

@@ -0,0 +1,23 @@
http:
routers:
walter-coiffure:
rule: "Host(`walter-coiffure.fr`) || Host(`www.walter-coiffure.fr`)"
entryPoints:
- websecure
service: nginx-host
tls:
certResolver: letsencrypt
agence66:
rule: "Host(`agence66.fr`) || Host(`www.agence66.fr`)"
entryPoints:
- websecure
service: nginx-host
tls:
certResolver: letsencrypt
services:
nginx-host:
loadBalancer:
servers:
- url: "http://172.19.0.1:8081"