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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user