Update 'ts3/docker-compose.yml'

This commit is contained in:
sporada 2021-04-22 16:32:44 +02:00
parent c1995fb9b6
commit 7ffd6b8638

View File

@ -1,14 +1,14 @@
version: '3.5' version: '3.5'
#networks: networks:
# default: default:
# external: external:
# name: traefik_default name: traefik_default
services: services:
teamspeak: teamspeak-app:
#networks: networks:
# - default - default
image: teamspeak:latest image: teamspeak:latest
env_file: live.env env_file: live.env
container_name: ts3-service container_name: ts3-service
@ -16,26 +16,25 @@ services:
volumes: volumes:
- ./ts3:/var/ts3server - ./ts3:/var/ts3server
depends_on: depends_on:
- db - teamspeak-db
#labels: labels:
# Watchtower # Watchtower
#- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
# Traefik # Traefik
#- "traefik.enable=true" - "traefik.enable=true"
#- "traefik.http.routers.teamspeak.rule=Host(`ts3.${DOMAIN}`)" # tcp
#- "traefik.http.routers.teamspeak.entrypoints=websecure" - "traefik.tcp.routers.teamspeak-tcp.entrypoints=ts-tcp"
#- "traefik.http.routers.teamspeak.tls.certresolver=myresolver" - "traefik.tcp.routers.teamspeak-tcp.service=teamspeak-tcp"
#- "traefik.udp.routers.teamspeak.entrypoints=teamspeak" - "traefik.tcp.routers.teamspeak-tcp.rule=HostSNI(`ts3.${DOMAIN}`)"
#- "traefik.udp.services.teamspeak.loadbalancer.server.port=9987" - "traefik.tcp.services.teamspeak-tcp.loadbalancer.server.port=30033"
# TS3 ports # udp
ports: - "traefik.udp.routers.teamspeak-udp.entrypoints=ts-udp"
- "9987:9987/udp" - "traefik.udp.routers.teamspeak-udp.service=teamspeak-udp"
- "10011:10011" - "traefik.udp.services.teamspeak-udp.loadbalancer.server.port=9987"
- "30033:30033"
db: teamspeak-db:
#networks: networks:
# - default - default
image: mariadb:10 image: mariadb:10
env_file: live.env env_file: live.env
container_name: ts3-db container_name: ts3-db