feat: add Soju IRC bouncer service template (#7532)
This commit is contained in:
commit
7c50f6011a
2 changed files with 46 additions and 0 deletions
6
svgs/soju.svg
Normal file
6
svgs/soju.svg
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
|
||||
<rect width="64" height="64" rx="12" fill="#5865F2"/>
|
||||
<path d="M16 20h32v4H16zM16 30h24v4H16zM16 40h28v4H16z" fill="#fff"/>
|
||||
<circle cx="48" cy="42" r="6" fill="#43B581"/>
|
||||
<path d="M12 16c0-2.2 1.8-4 4-4h32c2.2 0 4 1.8 4 4v32c0 2.2-1.8 4-4 4H16c-2.2 0-4-1.8-4-4V16z" stroke="#fff" stroke-width="2" fill="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 399 B |
40
templates/compose/soju.yaml
Normal file
40
templates/compose/soju.yaml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# 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
|
||||
- soju-run:/run/soju
|
||||
- type: bind
|
||||
source: ./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
|
||||
|
||||
gamja:
|
||||
image: codeberg.org/emersion/gamja:latest
|
||||
environment:
|
||||
- SERVICE_FQDN_GAMJA_80
|
||||
depends_on:
|
||||
- soju
|
||||
|
||||
volumes:
|
||||
soju-db:
|
||||
soju-uploads:
|
||||
soju-run:
|
||||
Loading…
Reference in a new issue