chats/docker-compose.yaml

68 lines
1.5 KiB
YAML

services:
ssh-chat:
build: https://gitea.demb.uk/third-party-mirrors/ssh-chat.git#v1.11-rc5
restart: unless-stopped
ports:
- 2022:2022
user: nobody
secrets:
- chatkey
volumes:
- ./ssh-chat/motd:/motd:ro
- ./ssh-chat/admins:/admins:ro
command: "/usr/local/bin/ssh-chat --identity /run/secrets/chatkey --admin=/admins --log=/dev/stdout --motd=/motd"
read_only: true
deploy:
resources:
limits:
cpus: '0.1'
memory: '64M'
pids: 20
matterbridge:
image: docker.io/42wim/matterbridge:stable
restart: unless-stopped
read_only: true
user: nobody
volumes:
- ./matterbridge/matterbridge.toml:/etc/matterbridge/matterbridge.toml:ro
environment:
- MATTERBRIDGE_DISCORD_MYDISCORD_TOKEN # Expected to be found in ./.env
depends_on:
- ssh-chat
deploy:
resources:
limits:
cpus: '0.1'
memory: '64M'
pids: 20
ts3:
image: docker.io/teamspeak:3.13.7
restart: unless-stopped
ports:
- 9987:9987/udp
- 10011:10011 # Not forwarded on the router so not forwarding here
- 30033:30033
environment:
TS3SERVER_LICENSE: accept
volumes:
- ts3-vol:/var/ts3server
deploy:
resources:
limits:
cpus: '0.25'
memory: '128M'
pids: 50
volumes:
ts3-vol:
external: true
secrets:
chatkey:
file: ./id_ed25516