gistfile1.txt
· 754 B · Text
Sin formato
version: '3.1'
services:
teamspeak:
image: teamspeak
restart: always
ports:
- 9987:9987/udp
- 10011:10011
- 30033:30033
environment:
TS3SERVER_DB_PLUGIN: ts3db_mariadb
TS3SERVER_DB_SQLCREATEPATH: create_mariadb
TS3SERVER_DB_HOST: db
TS3SERVER_DB_USER: root
TS3SERVER_DB_PASSWORD: teamspeakdbpw
TS3SERVER_DB_NAME: teamspeak
TS3SERVER_DB_WAITUNTILREADY: 30
TS3SERVER_LICENSE: accept
volumes:
- /volume1/docker/teamspeak/config:/var/ts3server/
db:
image: mariadb
restart: always
user: 1024:100
environment:
MYSQL_ROOT_PASSWORD: teamspeakdbpw
MYSQL_DATABASE: teamspeak
volumes:
- /volume1/docker/teamspeak/db:/var/lib/mysql
1 | version: '3.1' |
2 | services: |
3 | teamspeak: |
4 | image: teamspeak |
5 | restart: always |
6 | ports: |
7 | - 9987:9987/udp |
8 | - 10011:10011 |
9 | - 30033:30033 |
10 | environment: |
11 | TS3SERVER_DB_PLUGIN: ts3db_mariadb |
12 | TS3SERVER_DB_SQLCREATEPATH: create_mariadb |
13 | TS3SERVER_DB_HOST: db |
14 | TS3SERVER_DB_USER: root |
15 | TS3SERVER_DB_PASSWORD: teamspeakdbpw |
16 | TS3SERVER_DB_NAME: teamspeak |
17 | TS3SERVER_DB_WAITUNTILREADY: 30 |
18 | TS3SERVER_LICENSE: accept |
19 | volumes: |
20 | - /volume1/docker/teamspeak/config:/var/ts3server/ |
21 | db: |
22 | image: mariadb |
23 | restart: always |
24 | user: 1024:100 |
25 | environment: |
26 | MYSQL_ROOT_PASSWORD: teamspeakdbpw |
27 | MYSQL_DATABASE: teamspeak |
28 | |
29 | volumes: |
30 | - /volume1/docker/teamspeak/db:/var/lib/mysql |