3 Commits

Author SHA1 Message Date
2dc93a21ef feat: Added Teamspeak 6 Server 2026-02-01 00:37:35 +01:00
22352dd8a7 feat: Added .DS_Store to .gitignore 2026-02-01 00:24:05 +01:00
704ecf7024 revert 3202ede472
revert feat: Added CI Pipeline
- Lint the Docker Compose files using DCLinter Github Action
- Format the Docker Compose files with the 'compose_format' Python module
2026-01-30 21:19:27 +00:00
4 changed files with 72 additions and 36 deletions

View File

@@ -1,36 +0,0 @@
name: Lint and Format Docker Compose files
on:
push:
branches: [development]
pull_request:
branches: [main]
jobs:
lint:
name: Docker Compose Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: "Lint Docker Compose files"
uses: docker-compose-linter/dclint-github-action@v1.6.0
with:
path: .
recursive: true
format:
name: Docker Compose formatting
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v5
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: "Install compose_format module"
run: 'pip install compose_format'
- name: "Format Docker Compose files"
run: 'find . -iname "*.yaml" -exec compose_format --replace {} \;'

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.DS_Store
*.env

9
dist/teamspeak6/.env.template vendored Normal file
View File

@@ -0,0 +1,9 @@
TSSERVER_LICENSE_ACCEPTED=accept
TSSERVER_DATABASE_PLUGIN=mariadb
TSSERVER_DATABASE_SQL_CREATE_PATH=create_mariadb
TSSERVER_DATABASE_PORT=3306
MYSQL_USER=teamspeak
MYSQL_PASSWORD=YourPasswordHere
MYSQL_ROOT_PASSWORD=SuperSecretPassword
MYSQL_DATABASE=teamspeak

62
dist/teamspeak6/compose.yaml vendored Normal file
View File

@@ -0,0 +1,62 @@
networks:
traefik-network:
external: true
teamspeak6:
external: false
services:
teamspeak:
image: teamspeaksystems/teamspeak6-server:latest
container_name: teamspeak-server
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik-network"
- "traefik.udp.routers.ts6-voice.entrypoints=ts6-voice"
- "traefik.udp.routers.ts6-voice.service=ts6-voice-service"
- "traefik.udp.services.ts6-voice-service.loadbalancer.server.port=9987"
- "traefik.tcp.routers.ts6-filetransfer.rule=HostSNI(`*`)"
- "traefik.tcp.routers.ts6-filetransfer.entrypoints=ts6-filetransfer"
- "traefik.tcp.routers.ts6-filetransfer.service=ts6-filetransfer-service"
- "traefik.tcp.services.ts6-filetransfer-service.loadbalancer.server.port=30033"
- "traefik.tcp.routers.ts6-webquery.rule=HostSNI(`*`)"
- "traefik.tcp.routers.ts6-webquery.entrypoints=ts6-webquery"
- "traefik.tcp.routers.ts6-webquery.service=ts6-webquery-service"
- "traefik.tcp.services.ts6-webquery-service.loadbalancer.server.port=10080"
networks:
- traefik-network
- teamspeak6
environment:
- TSSERVER_LICENSE_ACCEPTED=${TSSERVER_LICENSE_ACCEPTED}
# Database settings
- TSSERVER_DATABASE_PLUGIN=${TSSERVER_DATABASE_PLUGIN}
- TSSERVER_DATABASE_SQL_CREATE_PATH=create_mariadb
- TSSERVER_DATABASE_HOST={TSSERVER_DATABASE_SQL_CREATE_PATH}
- TSSERVER_DATABASE_PORT=${TSSERVER_DATABASE_PORT}
- TSSERVER_DATABASE_NAME=${MYSQL_DATABASE}
- TSSERVER_DATABASE_USERNAME=${MYSQL_USER}
- TSSERVER_DATABASE_PASSWORD=${MYSQL_PASSWORD}
volumes:
- ./data:/var/tsserver
depends_on:
mariadb:
condition: service_healthy
mariadb:
image: mariadb:latest
container_name: mariadb
environment:
- MYSQL_ROOT_PASSWORD={MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
volumes:
- mariadb-data:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
networks:
- teamspeak6