Refactor Traefik local_services.yml to use HTTPS for Proxmox URLs and remove unnecessary middlewares, and add labels for persistent data containers

This commit is contained in:
2024-09-11 09:01:49 +08:00
parent b920f77921
commit 18145a20db
+6 -4
View File
@@ -6,7 +6,8 @@ http:
rule: Host(`coco.swarm.local`) rule: Host(`coco.swarm.local`)
middlewares: middlewares:
- admin-auth@swarm - admin-auth@swarm
tls: {} tls:
passthrough: true
service: coco_desktop@file service: coco_desktop@file
local-proxmox00: local-proxmox00:
@@ -20,7 +21,8 @@ http:
entryPoints: entryPoints:
- https - https
rule: Host(`proxmox01.swarm.local`) rule: Host(`proxmox01.swarm.local`)
tls: {} tls:
passthrough: true
service: proxmox01@file service: proxmox01@file
traefik-public-https: traefik-public-https:
@@ -38,7 +40,7 @@ http:
- https - https
rule: Host(`proxmox00.furyhawk.lol`) rule: Host(`proxmox00.furyhawk.lol`)
tls: tls:
certResolver: le passthrough: true
service: proxmox00@file service: proxmox00@file
proxmox01: proxmox01:
@@ -46,7 +48,7 @@ http:
- https - https
rule: Host(`proxmox01.furyhawk.lol`) rule: Host(`proxmox01.furyhawk.lol`)
tls: tls:
certResolver: le passthrough: true
service: proxmox01@file service: proxmox01@file
services: services: