Change traefik values

This commit is contained in:
SeanOMik 2023-04-02 20:01:37 -04:00
parent 87f8818c2b
commit 30830a6120
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 19 additions and 1 deletions

View File

@ -19,11 +19,17 @@ ports:
# The port protocol (TCP/UDP)
protocol: TCP
web:
port: 8000
expose: true
exposedPort: 80
# (optional) Permanent Redirect to HTTPS
# redirectTo: websecure
protocol: TCP
websecure:
exposed: true
port: 8443
expose: true
exposedPort: 443
protocol: TCP
tls:
enabled: true
certResolver: cloudflare
@ -33,6 +39,12 @@ ports:
exposedPort: 9100
protocol: TCP
service:
enabled: true
single: true
type: LoadBalancer
externalIPs:
- 192.168.87.10
env:
- name: CF_DNS_API_TOKEN
@ -45,6 +57,8 @@ env:
ingressRoute:
dashboard:
enabled: true
matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`)
entryPoints: ["traefik"]
# Persistent Storage
persistence:
@ -69,4 +83,8 @@ ingressClass:
enabled: true
isDefaultClass: true
metrics:
prometheus:
entryPoint: metrics
namespaceOverride: traefik