[traefik] Moves traefik config into the repo
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
http:
|
||||
services:
|
||||
dockerRegistry:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://10.88.0.1:5000/"
|
||||
routers:
|
||||
dockerRegistry:
|
||||
service: dockerRegistry
|
||||
rule: "ClientIP(`192.168.1.0/24`) && Host(`docker.havenisms.com`)"
|
||||
39
system/hosts/mcp/containers/traefik/traefik.yaml
Normal file
39
system/hosts/mcp/containers/traefik/traefik.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entrypoint:
|
||||
to: websecure
|
||||
scheme: https
|
||||
websecure:
|
||||
address: ":443"
|
||||
http:
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
metrics:
|
||||
address: ":8082"
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
|
||||
providers:
|
||||
docker:
|
||||
exposedByDefault: false
|
||||
file:
|
||||
directory: /etc/traefik/static
|
||||
watch: true
|
||||
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
email: drew.haven@gmail.com
|
||||
storage: /etc/traefik/acme/acme.json
|
||||
httpChallenge:
|
||||
entryPoint: web
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
addEntryPointsLabels: true
|
||||
addServicesLabels: true
|
||||
entryPoint: "metrics"
|
||||
Reference in New Issue
Block a user