From 34fffedd65422722e96e42482aeb346e22c44406 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Fri, 21 Aug 2020 16:59:01 +0200 Subject: [PATCH] Moved on git --- .env.example | 13 +++++++++++++ .gitignore | 1 + docker-compose.yml | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 .env.example create mode 100644 .gitignore create mode 100644 docker-compose.yml diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..c556e0e --- /dev/null +++ b/.env.example @@ -0,0 +1,13 @@ +# Global Settings +LOCAL_STACK_DIR=/srv/docker/volumes/teamspeak3server + +# Global Settings (optional) +TS_RESTART= + +# teamspeak3server +TS3SERVER_LICENSE=accept + +# teamspeak3server (optional) +TS3_CONTAINER_NAME= +TS3_IMG= +TS3_TAG= diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..dbe3bd1 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.1' + +services: + teamspeak3server: + image: ${TS3_IMG:-teamspeak}:${TS3_TAG:-latest} + container_name: ${TS3_CONTAINER_NAME:-teamspeak3server} + restart: ${TS_RESTART:-unless-stopped} + volumes: + - ${LOCAL_STACK_DIR}/ts3server:/var/ts3server/ + ports: + - 9987:9987/udp + - 10011:10011 + - 30033:30033 + environment: + TS3SERVER_LICENSE: ${TS3SERVER_LICENSE:-view}