From 77e42d3a56ae4e30dba089152d2856f493ada357 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Sat, 25 Apr 2026 22:37:12 +0800 Subject: [PATCH] fix: update entryPoints for xiaozhi_ws service in Traefik configuration --- swarm/core.yml | 1 + swarm/traefik/services.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/swarm/core.yml b/swarm/core.yml index c661061..2b6fa8c 100644 --- a/swarm/core.yml +++ b/swarm/core.yml @@ -143,6 +143,7 @@ services: - --entrypoints.web-socket.address=:8083 - --entrypoints.web-socket-secure.address=:8084 - --entrypoints.bolt-socket.address=:7687 + - --entrypoints.xiaozhi-ws.address=:8033 # 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 diff --git a/swarm/traefik/services.yml b/swarm/traefik/services.yml index d6fffe9..3ed1a0e 100644 --- a/swarm/traefik/services.yml +++ b/swarm/traefik/services.yml @@ -84,11 +84,11 @@ http: xiaozhi_ws: entryPoints: - - https + - xiaozhi-ws rule: Host(`xiaozhi_ws.furyhawk.lol`) tls: certResolver: le - service: xiaozhi_ws + service: xiaozhi_ws@file services: @@ -140,4 +140,4 @@ http: xiaozhi_ws: loadBalancer: servers: - - url: ws://192.168.50.44:8033/xiaozhi/v1/ \ No newline at end of file + - url: ws://192.168.50.44:8033 \ No newline at end of file