From 3bf5e3ccfb999c5d3690e56cd935afed065b0fd6 Mon Sep 17 00:00:00 2001 From: Murat Aslan <78961478+murataslan1@users.noreply.github.com> Date: Mon, 8 Dec 2025 15:53:33 +0300 Subject: [PATCH] feat: add Soju IRC bouncer service template --- templates/compose/soju.yaml | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 templates/compose/soju.yaml diff --git a/templates/compose/soju.yaml b/templates/compose/soju.yaml new file mode 100644 index 000000000..a1da14a86 --- /dev/null +++ b/templates/compose/soju.yaml @@ -0,0 +1,49 @@ +# documentation: https://soju.im/ +# slogan: A user-friendly IRC bouncer with a modern web interface +# category: communication +# tags: irc, bouncer, chat, messaging, relay +# logo: svgs/soju.svg +# port: 80 + +services: + soju: + image: codeberg.org/emersion/soju:latest + volumes: + - soju-db:/db + - soju-uploads:/uploads + - type: bind + source: ./soju/config + target: /soju-config + content: | + db sqlite3 /db/main.db + message-store db + file-upload fs /uploads/ + listen irc+insecure:// + listen http+insecure:// + listen unix+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 + 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 + +volumes: + soju-db: + soju-uploads: