Refactor Traefik local_services.yml and services.yml

This commit is contained in:
2024-09-11 07:18:40 +08:00
parent dfb8118633
commit 6c40facaef
+33 -3
View File
@@ -1,6 +1,6 @@
http:
routers:
traefik-public-https:
local-traefik-public-https:
entryPoints:
- https
rule: Host(`coco.swarm.local`)
@@ -9,7 +9,7 @@ http:
tls: {}
service: coco_desktop@file
proxmox00:
local-proxmox00:
entryPoints:
- https
rule: Host(`proxmox00.swarm.local`)
@@ -18,7 +18,7 @@ http:
tls: {}
service: proxmox00@file
proxmox01:
local-proxmox01:
entryPoints:
- https
rule: Host(`proxmox01.swarm.local`)
@@ -27,6 +27,36 @@ http:
tls: {}
service: proxmox01@file
traefik-public-https:
entryPoints:
- https
rule: Host(`coco.furyhawk.lol`)
middlewares:
- admin-auth@swarm
tls:
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: