From d6c5265556c22657b5e2203a7cf765c3cc56c0c4 Mon Sep 17 00:00:00 2001 From: Murat Aslan Date: Tue, 9 Dec 2025 00:16:20 +0300 Subject: [PATCH] fix: update soju config path and add WebSocket support - Fix config path to /etc/soju/config - Use explicit host:port bindings - Switch to WebSocket listener for Gamja compatibility - Add GAMJA_SERVER environment variable --- templates/compose/soju.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/compose/soju.yaml b/templates/compose/soju.yaml index a1da14a86..ff9ae5228 100644 --- a/templates/compose/soju.yaml +++ b/templates/compose/soju.yaml @@ -13,14 +13,14 @@ services: - soju-uploads:/uploads - type: bind source: ./soju/config - target: /soju-config + target: /etc/soju/config content: | db sqlite3 /db/main.db message-store db file-upload fs /uploads/ - listen irc+insecure:// - listen http+insecure:// - listen unix+admin:// + listen irc+insecure://0.0.0.0:6667 + listen ws+insecure://0.0.0.0:80 + listen unix+admin:///run/soju/admin networks: default: aliases: @@ -35,6 +35,7 @@ services: image: codeberg.org/emersion/gamja:latest environment: - SERVICE_FQDN_GAMJA_80 + - GAMJA_SERVER=ws://soju:80 depends_on: soju: condition: service_healthy