TeamSpeak-Systems / teamspeak-linux-docker-images

docker build files for TeamSpeak servers
Other
114 stars 52 forks source link

configure ts3server.ini #24

Closed Xtreme89 closed 4 years ago

Xtreme89 commented 5 years ago

Hi,

i want to configure the ts3server.ini but the file is always deleted when i stop my container i see the file in my volume and can edit them, but when i stop and start again it is the same file before without my editing.

so my fault?

this is my yaml file

version: '3.1' services: teamspeak: image: teamspeak restart: always ports:

volumes: db_teamspeak:

muenchow commented 5 years ago

the /var/run/ts3server/ts3server.ini is being generated by the /entrypoint.sh when the docker is being started. If you want to change the contents of this ini you can do that by setting the corresponding environment variables. See the documentation for more details.

if you want to completely replace the inifile you can do that by adding command: ts3server inifile="/var/run/ts3server/custom_ts3server.ini" into you yaml file, and then adding a /var/run/ts3server/custom_ts3server.ini.