TeamSpeak as a custom app

OK a good nights sleep does wonders, i’ve got it working with hostpaths.
In the truenas gui i had do add user 568 and 999 to the acl list for it to start.
Here’s the upated compose file:

services:
  teamspeak:
    environment:
      PGID: 568
      PUID: 568
      TS3SERVER_DB_HOST: db
      TS3SERVER_DB_NAME: teamspeak
      TS3SERVER_DB_PASSWORD: example #use same Database Password here 
      TS3SERVER_DB_PLUGIN: ts3db_mariadb
      TS3SERVER_DB_SQLCREATEPATH: create_mariadb
      TS3SERVER_DB_USER: root
      TS3SERVER_DB_WAITUNTILREADY: 30
      TS3SERVER_LICENSE: accept
    image: teamspeak
    ports:
      - 9987:9987/udp
      - '10011:10011'
      - '30033:30033'
    restart: always
    volumes:
      - /mnt/Plugins/Teamspeak/Server:/var/ts3server/  #replace /mnt/Plugins/Teamspeak/Server with path for the teamspeak files
  db:
    environment:
      MYSQL_DATABASE: teamspeak
      MYSQL_ROOT_PASSWORD: example   #set Database password
    image: mariadb
    restart: always
    volumes:
      - /mnt/Plugins/Teamspeak/db:/var/lib/mysql  #replace /mnt/Plugins/Teamspeak/db with path for db storage

Edit:
After first launching the app you have to get the Claim id or whatever it was called, which can be found by viewing the logs of the teamspeak container.

1 Like