Refactor Traefik local_services.yml and services.yml

- Updated the rule for traefik-public-https to use coco.swarm.local instead of coco.cloudy.local
- Added new services proxmox00 and proxmox01 with their respective rules and load balancer configurations
- Updated the URLs for proxmox00 and proxmox01 in the load balancer configuration of services.yml
This commit is contained in:
2024-09-11 07:06:03 +08:00
parent 55d1605502
commit dfb8118633
2 changed files with 59 additions and 1 deletions
+29 -1
View File
@@ -3,11 +3,29 @@ http:
traefik-public-https:
entryPoints:
- https
rule: Host(`coco.cloudy.local`)
rule: Host(`coco.swarm.local`)
middlewares:
- admin-auth@swarm
tls: {}
service: coco_desktop@file
proxmox00:
entryPoints:
- https
rule: Host(`proxmox00.swarm.local`)
middlewares:
- admin-auth@swarm
tls: {}
service: proxmox00@file
proxmox01:
entryPoints:
- https
rule: Host(`proxmox01.swarm.local`)
middlewares:
- admin-auth@swarm
tls: {}
service: proxmox01@file
services:
@@ -15,3 +33,13 @@ http:
loadBalancer:
servers:
- url: http://192.168.50.178:5000
proxmox00:
loadBalancer:
servers:
- url: http://192.168.50.210:8006
proxmox01:
loadBalancer:
servers:
- url: http://192.168.50.201:8006
+30
View File
@@ -10,10 +10,40 @@ http:
certResolver: le
service: coco_desktop@file
proxmox00:
entryPoints:
- https
rule: Host(`proxmox00.furyhawk.lol`)
middlewares:
- admin-auth@swarm
tls:
certResolver: le
service: proxmox00@file
proxmox01:
entryPoints:
- https
rule: Host(`proxmox01.furyhawk.lol`)
middlewares:
- admin-auth@swarm
tls:
certResolver: le
service: proxmox01@file
services:
coco_desktop:
loadBalancer:
servers:
- url: http://192.168.50.178:5000
proxmox00:
loadBalancer:
servers:
- url: http://192.168.50.210:8006
proxmox01:
loadBalancer:
servers:
- url: http://192.168.50.201:8006