fix(traefik): specify host ip for ports

This commit is contained in:
SeanOMik 2023-08-24 23:00:35 -04:00
parent 59a42f1c63
commit 90e417ac1f
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
2 changed files with 31 additions and 2 deletions

View File

@ -55,11 +55,39 @@ spec:
spec:
loadBalancerIP: "192.168.87.10"
# ports:
# traefik:
# port: 9000
# expose: true
# exposedPort: 9000
# # The port protocol (TCP/UDP)
# protocol: TCP
# web:
# port: 8000
# expose: true
# exposedPort: 80
# redirectTo: websecure
# protocol: TCP
# websecure:
# port: 8443
# expose: true
# exposedPort: 443
# protocol: TCP
# tls:
# enabled: true
# #certResolver: cloudflare
# metrics:
# port: 9100
# expose: true
# exposedPort: 9100
# protocol: TCP
ports:
traefik:
port: 9000
expose: true
exposedPort: 9000
hostIP: 192.168.87.10
# The port protocol (TCP/UDP)
protocol: TCP
web:
@ -67,19 +95,20 @@ spec:
expose: true
exposedPort: 80
redirectTo: websecure
hostIP: 192.168.87.10
protocol: TCP
websecure:
port: 8443
expose: true
exposedPort: 443
hostIP: 192.168.87.10
protocol: TCP
tls:
enabled: true
#certResolver: cloudflare
metrics:
port: 9100
expose: true
exposedPort: 9100
expose: false
protocol: TCP
# Disable Dashboard

0
docs/hostports.md Normal file
View File