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