Merge webhook into teamspeak_fallback

This commit is contained in:
Tobias Reisinger 2024-10-13 21:02:19 +02:00
parent 8b5593e586
commit 09e886c712
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 110 additions and 137 deletions
roles/teamspeak_fallback/files

View file

@ -1,19 +0,0 @@
services:
teamspeak:
image: teamspeak
restart: always
ports:
- 9987:9987/udp
- 10011:10011
- 30033:30033
environment:
TS3SERVER_DB_PLUGIN: ts3db_sqlite3
TS3SERVER_DB_SQLCREATEPATH: create_sqlite
TS3SERVER_LICENSE: accept
volumes:
- data:/var/ts3server/
volumes:
data:
external: true
name: teamspeak_fallback_data

View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
chown -R "${TEAMSPEAK_USER}:${TEAMSPEAK_GROUP}" /mnt/teamspeak_fallback_data
install -o "${TEAMSPEAK_USER}" -g "${TEAMSPEAK_GROUP}" -m 644 "$WEBHOOK_DATA" "/mnt/teamspeak_fallback_data/ts3server.sqlitedb"