From 139db09fe0bdcbb372b668c6b8631b8011edb034 Mon Sep 17 00:00:00 2001 From: Murat Aslan Date: Tue, 9 Dec 2025 00:28:33 +0300 Subject: [PATCH] fix: correct soju config path and simplify template - Fix config path to /soju-config (not /etc/soju/config) - Remove unix+admin listener (causes bind error) - Remove health checks (nc/wget not available in containers) - Simplify depends_on configuration Tested locally with docker compose - both services start successfully --- templates/compose/soju.yaml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/templates/compose/soju.yaml b/templates/compose/soju.yaml index ff9ae5228..ec746b3b7 100644 --- a/templates/compose/soju.yaml +++ b/templates/compose/soju.yaml @@ -13,37 +13,24 @@ services: - soju-uploads:/uploads - type: bind source: ./soju/config - target: /etc/soju/config + target: /soju-config content: | db sqlite3 /db/main.db message-store db file-upload fs /uploads/ 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: - gamja-backend - healthcheck: - test: ["CMD-SHELL", "nc -z localhost 6667 || exit 1"] - interval: 30s - timeout: 10s - retries: 5 gamja: image: codeberg.org/emersion/gamja:latest environment: - SERVICE_FQDN_GAMJA_80 - - GAMJA_SERVER=ws://soju:80 depends_on: - soju: - condition: service_healthy - healthcheck: - test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:80 || exit 1"] - interval: 30s - timeout: 10s - retries: 5 + - soju volumes: soju-db: