https://github.com/hasufell/docker-gentoo-teamspeak
Dockerized teamspeak inside gentoo
https://github.com/hasufell/docker-gentoo-teamspeak
Last synced: about 2 months ago
JSON representation
Dockerized teamspeak inside gentoo
- Host: GitHub
- URL: https://github.com/hasufell/docker-gentoo-teamspeak
- Owner: hasufell
- Created: 2015-11-24T14:05:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-13T00:26:06.000Z (over 8 years ago)
- Last Synced: 2025-01-28T18:45:59.669Z (4 months ago)
- Language: Shell
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
```sh
docker build -t hasufell/gentoo-teamspeak .
```## Configuration
All configuration variables from
`/usr/share/doc/teamspeak-server-bin-*/server_quickstart.txt`
can simply be set when starting the container via the `-e` switches. E.g.
if you want to set `logpath="/path/to/logs"` you just pass
`-e logpath="/path/to/logs"` to the `docker run` command.If you don't like the `-e`-foo you can mount in a configuration file
and tell teamspeak to use it via `-e inifile=/path/to/config/server.conf`.Data files will usually be created at `/var/lib/teamspeak3-server/`, unless
you overwrite all those locations. So it might make sense to use a data volume
for that location or mount in a host folder.## Running
A full command could look like this:
```sh
docker run -ti -d \
--name=teamspeak3 \
-p 9987:9987/udp \
-p 30033:30033 \
-p 10011:10011 \
-e dbsqlpath=/opt/teamspeak3-server/sql/ \
-v /srv/teamspeak:/var/lib/teamspeak3-server/ \
hasufell/gentoo-teamspeak
```Then examine the logs via `docker logs teamspeak3` to get your admin account
information.