add teamspeak
This commit is contained in:
parent
5673ef76fe
commit
b6edd536d3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
/adminscripts/Syrupy/*.log
|
/adminscripts/Syrupy/*.log
|
||||||
/adminscripts/Syrupy/*.raw
|
/adminscripts/Syrupy/*.raw
|
||||||
|
/adminscripts/hub_token
|
||||||
/ftp/conf-*
|
/ftp/conf-*
|
||||||
/ftp/home-*
|
/ftp/home-*
|
||||||
/gitea/gitea_data
|
/gitea/gitea_data
|
||||||
@ -7,6 +8,7 @@
|
|||||||
/notes/standardfile.db
|
/notes/standardfile.db
|
||||||
/notes/standardfile.yml
|
/notes/standardfile.yml
|
||||||
/recipes/mealie
|
/recipes/mealie
|
||||||
|
/teamspeak/data
|
||||||
/terraria/config
|
/terraria/config
|
||||||
/traefik/letsencrypt
|
/traefik/letsencrypt
|
||||||
/traefik/.env
|
/traefik/.env
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
SCRIPT_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
SCRIPT_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
||||||
GLOB_DIR=$SCRIPT_DIR/..
|
GLOB_DIR=$SCRIPT_DIR/..
|
||||||
|
|
||||||
SERVICES=( traefik gitea wizz ftp notes recipes terraria )
|
SERVICES=( traefik gitea wizz ftp notes recipes terraria teamspeak )
|
||||||
|
|
||||||
for service in "${SERVICES[@]}"
|
for service in "${SERVICES[@]}"
|
||||||
do
|
do
|
||||||
|
28
teamspeak/docker-compose.yml
Normal file
28
teamspeak/docker-compose.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
# Not run through traefik, causes too much slowdown: instead, using a DNS SRV rule.
|
||||||
|
services:
|
||||||
|
teamspeak:
|
||||||
|
image: teamspeak
|
||||||
|
container_name: teamspeak
|
||||||
|
ports:
|
||||||
|
- 9987:9987/udp
|
||||||
|
- 10011:10011
|
||||||
|
- 30033:30033
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: ./secrets/teamspeak.secret
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/ts3server/
|
||||||
|
networks:
|
||||||
|
- teamspeak
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
restart: always
|
||||||
|
env_file: ./secrets/teamspeak.secret
|
||||||
|
networks:
|
||||||
|
- teamspeak
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
teamspeak:
|
||||||
|
external: false
|
11
teamspeak/secrets/teamspeak.example
Normal file
11
teamspeak/secrets/teamspeak.example
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
TS3SERVER_DB_PLUGIN=ts3db_mariadb
|
||||||
|
TS3SERVER_DB_SQLCREATEPATH=create_mariadb
|
||||||
|
TS3SERVER_DB_HOST=db
|
||||||
|
TS3SERVER_DB_USER=root
|
||||||
|
TS3SERVER_DB_PASSWORD=password
|
||||||
|
TS3SERVER_DB_NAME=dbname
|
||||||
|
TS3SERVER_DB_WAITUNTILREADY=30
|
||||||
|
TS3SERVER_LICENSE=accept
|
||||||
|
|
||||||
|
MYSQL_ROOT_PASSWORD=password
|
||||||
|
MYSQL_DATABASE=dbname
|
Loading…
x
Reference in New Issue
Block a user