These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. # Teamspeak3
  2. ## Setup Server
  3. ### Docker
  4. The official container and documentation was made by [teamspeak](https://hub.docker.com/_/teamspeak).
  5. #### Environment-variables
  6. Set the following variables with the -e tag.
  7. | Name | Usage | Default |
  8. | ----------------- | ---------------------------- | ------- |
  9. | TS3SERVER\_LICENSE | accept the license agreement | |
  10. #### Volumes
  11. Set the following volumes with the -v tag.
  12. | Volume-Name | Container mount | Description |
  13. | ---------------- | --------------- | --------------------------- |
  14. | teamspeak3 | /var/ts3server | storage for ts3-server data |
  15. #### Ports
  16. Set the following ports with the -p tag.
  17. | Container Port | Recommended outside port | Protocol | Description |
  18. | -------------- | ------------------------ | -------- | ----------- |
  19. | 9987 | 9987 | UDP | ts3-intern |
  20. | 10011 | 10011 | TCP | ts3-intern |
  21. | 30033 | 30033 | TCP | ts3-intern |
  22. #### Rebuild
  23. ```
  24. #!/bin/sh
  25. docker stop teamspeak3
  26. docker rm teamspeak3
  27. docker pull teamspeak:latest
  28. docker run --name teamspeak3 \
  29. --restart unless-stopped \
  30. -p 9987:9987/udp \
  31. -p 10011:10011 \
  32. -p 30033:30033 \
  33. -v teamspeak3:/var/ts3server \
  34. -e TS3SERVER_LICENSE=accept \
  35. -d teamspeak:latest
  36. ```