services:traefik
This is an old revision of the document!
Table of Contents
Traefik
Reverse proxy and TLS termination.
Access
| Item | Value |
|---|---|
| Dashboard | http://10.100.161.102:8080 |
| Container | CT 102 |
| IP | 10.100.161.102 |
| Ports | 80, 443, 8080 |
TLS
- Provider: Lets Encrypt
- Challenge: DNS-01 (Cloudflare)
- Domain: *.home.miskam.xyz
See TLS Certificates for details.
Configuration
| File | Purpose |
|---|---|
| /etc/traefik/traefik.yaml | Main config |
| /etc/traefik/conf.d/ | Dynamic routes |
| /etc/traefik/ssl/acme.json | Certificates |
Adding Routes
# /etc/traefik/conf.d/myservice.yml http: routers: myservice: rule: "Host(`myservice.home.miskam.xyz`)" service: myservice entryPoints: - websecure tls: certResolver: letsencrypt domains: - main: "*.home.miskam.xyz" services: myservice: loadBalancer: servers: - url: "http://10.100.161.XXX:PORT"
Traefik auto-reloads (file provider).
Related
- Containers - CT 102 details
services/traefik.1770409335.txt.gz · Last modified: by admin
