-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1.28 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.7"
volumes:
mariadb_data: {}
teamspeak_data: {}
services:
teamspeak_db:
image: "docker.io/library/mariadb:10.5.8"
container_name: "teamspeak_db"
restart: "unless-stopped"
environment:
- "MYSQL_ROOT_PASSWORD=password"
- "MYSQL_USER=user"
- "MYSQL_PASSWORD=password"
- "MYSQL_DATABASE=teamspeak_production"
volumes:
- "mariadb_data:/var/lib/mysql"
teamspeak:
image: "docker.io/library/teamspeak:3.13.2"
container_name: "teamspeak_teamspeak"
restart: "unless-stopped"
environment:
- "TS3SERVER_LICENSE=accept"
- "TS3SERVER_DB_PLUGIN=ts3db_mariadb"
- "TS3SERVER_DB_SQLCREATEPATH=create_mariadb"
- "TS3SERVER_DEFAULT_VOICE_PORT=9987"
- "TS3SERVER_QUERY_PORT=10011"
- "TS3SERVER_QUERY_SSH_PORT=10022"
- "TS3SERVER_FILETRANSFER_PORT=30033"
- "TS3SERVER_SERVERADMIN_PASSWORD=password"
- "TS3SERVER_DB_HOST=teamspeak_db"
- "TS3SERVER_DB_PORT=3306"
- "TS3SERVER_DB_USER=user"
- "TS3SERVER_DB_PASSWORD=password"
- "TS3SERVER_DB_NAME=teamspeak_production"
- "TS3SERVER_DB_WAITUNTILREADY=30"
ports:
- "9987:9987/udp"
- "10011:10011"
- "10022:10022"
- "30033:30033"
volumes:
- "teamspeak_data:/var/ts3server"