Refactor Traefik configuration to update Spice proxy ports

This commit is contained in:
2024-09-11 14:47:51 +08:00
parent 1d3bbc61fb
commit c5e4bbab0b
2 changed files with 20 additions and 5 deletions
+5 -1
View File
@@ -31,6 +31,9 @@ services:
- target: 61000
published: 61000
mode: host
- target: 61001
published: 61001
mode: host
# - target: 8883
# published: 8883
# mode: host
@@ -140,7 +143,8 @@ services:
- --entrypoints.web-socket-secure.address=:8084
- --entrypoints.bolt-socket.address=:7687
- --entrypoints.spice-socket.address=:3128
- --entrypoints.spice-tls-socket.address=:61000
- --entrypoints.spice00-tls-socket.address=:61000
- --entrypoints.spice01-tls-socket.address=:61001
# Create the certificate resolver "le" for Let's Encrypt, uses the environment variable EMAIL
- --certificatesresolvers.le.acme.email=${EMAIL?Variable not set}
# Store the Let's Encrypt certificates in the mounted volume