Update 'ts3/docker-compose.yml'

This commit is contained in:
sporada 2021-04-29 11:42:39 +02:00
parent 52951c909a
commit af4f411222

View File

@ -7,30 +7,30 @@ networks:
services:
teamspeak-app:
networks:
- default
image: teamspeak:latest
env_file: live.env
container_name: ts3-service
restart: unless-stopped
volumes:
- ./ts3:/var/ts3server
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}`)"
- "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"
networks:
- default
image: teamspeak:latest
env_file: live.env
container_name: ts3-service
restart: unless-stopped
volumes:
- ./ts3:/var/ts3server
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}`)"
- "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"
teamspeak-db:
networks: