Hi! I successfully implemented TS3 on my server, manually:
mkdir /data/teamspeak
then
docker create -p 9987:9987/udp -p 10011:10011 -p 30033:30033 -e TS3SERVER_LICENSE=accept --restart always --name Teamspeak - v /data/teamspeak/:/var/ts3server/ teamspeak
then
docker start Teamspeak
and copied the token from logs - ran perfectly.
But now I want to implement the TS via Dockerfile (unfortunately docker-compose doesn’t work here, neither does stack deploy).
Here is my Dockerfile:
#Teamspeak Docker File
FROM teamspeak:latest
VOLUME /var/ts3server/
ENV TS3SERVER_LICENSE: accept
EXPOSE 9987
EXPOSE 10011
EXPOSE 30033
The server sets environment variables itself, it also takes care of the mapping, but the docker file doesn’t work that way - do you notice something obvious that I still have to squeeze into the file (besides environment variables or mapping?)?