You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.0 KiB
YAML

version: "3.2"
services:
teamspeak:
image: docker.io/teamspeak
deploy:
replicas: 1
placement:
constraints: [node.labels.gluster == true]
depends_on:
- mariadb
environment:
- TS3SERVER_DB_PLUGIN=ts3db_mariadb
- TS3SERVER_DB_SQLCREATEPATH=create_mariadb
- TS3SERVER_DB_HOST=mariadb
- TS3SERVER_DB_USER=teamspeak
- TS3SERVER_DB_NAME=teamspeak
- TS3SERVER_LICENSE=accept
ports:
- target: 9987
published: "145.239.119.128:42842"
protocol: udp
mode: ingress
- target: 30033
published: "145.239.119.128:55123"
protocol: udp
mode: ingress
volumes:
- "/gluster/docker/gamemodeon-teamspeak_teamspeak/var/ts3server/:/var/ts3server/"
networks:
- database
- teamspeak
mariadb:
image: docker.io/mariadb
deploy:
replicas: 1
placement:
constraints: [node.hostname == stan.lubi.link]
environment:
- MYSQL_USER=teamspeak
- MYSQL_DATABASE=teamspeak
- MYSQL_RANDOM_ROOT_PASSWORD=yes
volumes:
- "/mnt/gamemodeon-teamspeak_mariadb/var/lib/mysql/:/var/lib/mysql/"
networks:
- database
synapse:
image: matrixdotorg/synapse
deploy:
replicas: 1
placement:
constraints: [node.labels.gluster == true]
depends_on:
- postgres
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
volumes:
- "/gluster/docker/imninja_synapse/data/:/data/"
ports:
- "145.239.119.128:8448:8448"
- "145.239.119.128:42933:443/udp"
networks:
- homeserver
- database
- lubiland-lb