mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-21 15:36:49 +00:00
Refactor Traefik configuration to add Spice proxy support
This commit is contained in:
@@ -25,6 +25,12 @@ services:
|
|||||||
- target: 8084
|
- target: 8084
|
||||||
published: 8084
|
published: 8084
|
||||||
mode: host
|
mode: host
|
||||||
|
- target: 3128
|
||||||
|
published: 3128
|
||||||
|
mode: host
|
||||||
|
- target: 61001
|
||||||
|
published: 61001
|
||||||
|
mode: host
|
||||||
# - target: 8883
|
# - target: 8883
|
||||||
# published: 8883
|
# published: 8883
|
||||||
# mode: host
|
# mode: host
|
||||||
@@ -133,6 +139,8 @@ services:
|
|||||||
- --entrypoints.web-socket.address=:8083
|
- --entrypoints.web-socket.address=:8083
|
||||||
- --entrypoints.web-socket-secure.address=:8084
|
- --entrypoints.web-socket-secure.address=:8084
|
||||||
- --entrypoints.bolt-socket.address=:7687
|
- --entrypoints.bolt-socket.address=:7687
|
||||||
|
- --entrypoints.spice-socket.address=:3128
|
||||||
|
- --entrypoints.spice-tls-socket.address=:61001
|
||||||
# Create the certificate resolver "le" for Let's Encrypt, uses the environment variable EMAIL
|
# Create the certificate resolver "le" for Let's Encrypt, uses the environment variable EMAIL
|
||||||
- --certificatesresolvers.le.acme.email=${EMAIL?Variable not set}
|
- --certificatesresolvers.le.acme.email=${EMAIL?Variable not set}
|
||||||
# Store the Let's Encrypt certificates in the mounted volume
|
# Store the Let's Encrypt certificates in the mounted volume
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ http:
|
|||||||
- admin-auth@swarm
|
- admin-auth@swarm
|
||||||
tls: {}
|
tls: {}
|
||||||
service: coco_desktop@file
|
service: coco_desktop@file
|
||||||
|
|
||||||
local-proxmox00:
|
local-proxmox00:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- https
|
- https
|
||||||
@@ -56,7 +56,6 @@ http:
|
|||||||
service: proxmox01@file
|
service: proxmox01@file
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
coco_desktop:
|
coco_desktop:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
@@ -75,3 +74,29 @@ http:
|
|||||||
serversTransport: "pvetransport"
|
serversTransport: "pvetransport"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://192.168.50.201:8006"
|
- url: "https://192.168.50.201:8006"
|
||||||
|
|
||||||
|
tcp:
|
||||||
|
routers:
|
||||||
|
spice:
|
||||||
|
entryPoints:
|
||||||
|
- spice
|
||||||
|
rule: HostSNI(`*`)
|
||||||
|
tls: false
|
||||||
|
service: spice@file
|
||||||
|
spice-tls:
|
||||||
|
entryPoints:
|
||||||
|
- spice-tls
|
||||||
|
rule: HostSNI(`*`)
|
||||||
|
tls:
|
||||||
|
passthrough: true
|
||||||
|
service: spice-tls@file
|
||||||
|
|
||||||
|
services:
|
||||||
|
spice:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- address: "https://192.168.50.210:3128"
|
||||||
|
spice-tls:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- address: "https://192.168.50.210:61001"
|
||||||
|
|||||||
Reference in New Issue
Block a user