Update 'ts3/docker-compose.yml'
This commit is contained in:
parent
52951c909a
commit
af4f411222
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user