mirror of https://github.com/tiyn/wiki
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.
48 lines
1.4 KiB
48 lines
1.4 KiB
5 years ago
|
# Teamspeak3
|
||
5 years ago
|
|
||
|
## Setup Server
|
||
|
|
||
|
### Docker
|
||
|
|
||
5 years ago
|
The official container and documentation was made by [teamspeak](https://hub.docker.com/_/teamspeak).
|
||
|
|
||
5 years ago
|
#### Environment-variables
|
||
5 years ago
|
Set the following variables with the -e tag.
|
||
|
|
||
|
| Name | Usage | Default |
|
||
|
| ----------------- | ---------------------------- | ------- |
|
||
5 years ago
|
| TS3SERVER\_LICENSE | accept the license agreement | |
|
||
5 years ago
|
|
||
5 years ago
|
#### Volumes
|
||
5 years ago
|
Set the following volumes with the -v tag.
|
||
|
|
||
|
| Volume-Name | Container mount | Description |
|
||
|
| ---------------- | --------------- | --------------------------- |
|
||
|
| teamspeak3 | /var/ts3server | storage for ts3-server data |
|
||
|
|
||
5 years ago
|
#### Ports
|
||
5 years ago
|
Set the following ports with the -p tag.
|
||
|
|
||
|
| Container Port | Recommended outside port | Protocol | Description |
|
||
|
| -------------- | ------------------------ | -------- | ----------- |
|
||
|
| 9987 | 9987 | UDP | ts3-intern |
|
||
|
| 10011 | 10011 | TCP | ts3-intern |
|
||
|
| 30033 | 30033 | TCP | ts3-intern |
|
||
|
|
||
5 years ago
|
#### Rebuild
|
||
|
|
||
|
```
|
||
|
#!/bin/sh
|
||
|
docker stop teamspeak3
|
||
|
docker rm teamspeak3
|
||
|
docker pull teamspeak:latest
|
||
|
docker run --name teamspeak3 \
|
||
|
--restart unless-stopped \
|
||
|
-p 9987:9987/udp \
|
||
|
-p 10011:10011 \
|
||
|
-p 30033:30033 \
|
||
|
-v teamspeak3:/var/ts3server \
|
||
|
-e TS3SERVER_LICENSE=accept \
|
||
|
-d teamspeak:latest
|
||
|
```
|