2021-04-22 16:32:44 +02:00
|
|
|
networks:
|
|
|
|
default:
|
2024-04-28 11:24:42 +00:00
|
|
|
name: traefik_default
|
|
|
|
external: true
|
2021-03-25 14:44:49 +01:00
|
|
|
|
|
|
|
services:
|
2021-04-22 16:32:44 +02:00
|
|
|
teamspeak-app:
|
2021-04-29 11:42:39 +02:00
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
image: teamspeak:latest
|
|
|
|
env_file: live.env
|
|
|
|
container_name: ts3-service
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-04-30 13:59:13 +02:00
|
|
|
- ./data:/var/ts3server
|
2021-04-29 11:42:39 +02:00
|
|
|
depends_on:
|
|
|
|
- teamspeak-db
|
|
|
|
labels:
|
|
|
|
# Watchtower
|
|
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
|
|
# Traefik
|
|
|
|
- "traefik.enable=true"
|
|
|
|
# tcp
|
|
|
|
- "traefik.tcp.routers.teamspeak-tcp.entrypoints=ts-tcp"
|
|
|
|
- "traefik.tcp.routers.teamspeak-tcp.service=teamspeak-tcp"
|
|
|
|
- "traefik.tcp.routers.teamspeak-tcp.rule=HostSNI(`ts3.${DOMAIN}`)"
|
2021-05-02 14:24:19 +02:00
|
|
|
- "traefik.tcp.routers.teamspeak-tcp.tls=true"
|
|
|
|
- "traefik.tcp.routers.teamspeak-tcp.tls.certresolver=myresolver"
|
2021-04-29 11:42:39 +02:00
|
|
|
- "traefik.tcp.services.teamspeak-tcp.loadbalancer.server.port=30033"
|
|
|
|
# udp
|
|
|
|
- "traefik.udp.routers.teamspeak-udp.entrypoints=ts-udp"
|
|
|
|
- "traefik.udp.routers.teamspeak-udp.service=teamspeak-udp"
|
|
|
|
- "traefik.udp.services.teamspeak-udp.loadbalancer.server.port=9987"
|
2021-03-25 14:44:49 +01:00
|
|
|
|
2021-04-28 12:13:46 +02:00
|
|
|
teamspeak-db:
|
|
|
|
networks:
|
|
|
|
- default
|
2024-02-24 14:03:59 +01:00
|
|
|
image: mariadb:10.11
|
2021-04-28 12:13:46 +02:00
|
|
|
env_file: live.env
|
|
|
|
container_name: ts3-db
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-05-02 14:24:19 +02:00
|
|
|
- ./db:/var/lib/mysql
|