As the title states, my entire instance gets wiped when I reboot my actual server, even after gracefully shutting down the docker instance running the TeamSpeak server.
I’m running it through docker-compose and the config is very minimalistic yet straight-forward:
version: ‘3.1’
services:
teamspeak:
image: "teamspeak"
restart: "always"
ports:
- "9987:9987/udp"
- "10011:10011"
- "30033:30033"
environment:
TS3SERVER_LICENSE: "accept"
TS3SERVER_DB_PLUGIN: "ts3db_mariadb"
TS3SERVER_DB_SQLCREATEPATH: "create_mariadb"
TS3SERVER_DB_HOST: "ts_db"
TS3SERVER_DB_USER: "root"
TS3SERVER_DB_PASSWORD: "nope :)"
TS3SERVER_DB_NAME: "ts3"
TS3SERVER_DB_WAITUNTILREADY: 10
volumes:
- "./data:/var/ts3server"
ts_db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: "nope :)"
MYSQL_DATABASE: "ts3"