Teamspeak container resets after container goes down/system reset

Hi I’m new to Teamspeak, I am setting up a server for the first time and noticed that the server got reset, after a few attempts I realized nothing is saved after the system restarts or the container goes down, I am attaching my compose file, is there something I am missing?
I am fairly new to owning homelabs and dockers so please be patient with me. thanks!

services:
  teamspeak:
    image: teamspeaksystems/teamspeak6-server:latest
    container_name: teamspeak-server
    restart: unless-stopped
    ports:
        - "9987:9987/udp"   # Voice Port
        - "30033:30033/tcp" # File Transfer
        # - "10080:10080/tcp" # Web Query
    environment:
        - TSSERVER_LICENSE_ACCEPTED=accept
    volumes:
        - teamspeak-data:/media/tom/Dockers/Teamspeak

volumes:
teamspeak-data:
name: teamspeak-data

The volume is configured incorrectly. The part after the colon must not change from the default config. It is the path inside the container. You need to change the part to the left of the colon.

4 Likes

hey this fixed it!
thanks so much, didn’t notice I made this mistake :slight_smile:
For Reference for future newbies, it needs to be: *yourpathhere*:/var/tsserver
the :var/tsserver must not be changed!

1 Like