update TS + add forgotten stuff in run_all/reset

This commit is contained in:
Hurlu 2024-01-15 21:25:57 +01:00
parent f2d0a1e36d
commit cde3eb6d07
5 changed files with 8 additions and 4 deletions

2
.gitignore vendored
View File

@ -5,10 +5,12 @@
/ftp/home-*
/gitea/gitea_data
/gitea/postgres
/joplin/joplin_data
/notes/standardfile.db
/notes/standardfile.yml
/recipes/mealie
/teamspeak/data
/teamspeak/dbvolume
/terraria/config
/traefik/letsencrypt
/traefik/.env

View File

@ -1,4 +1,5 @@
docker kill $(docker ps -q);
docker network prune -f;
if [[ $1 == "hard" ]]
then
docker system prune -f -a --volumes;

View File

@ -1,7 +1,7 @@
SCRIPT_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
GLOB_DIR=$SCRIPT_DIR/..
SERVICES=( traefik gitea wizz ftp notes recipes teamspeak )
SERVICES=( traefik gitea wizz ftp notes recipes teamspeak joplin )
for service in "${SERVICES[@]}"
do

View File

@ -1,6 +1,6 @@
#required packages: httpie, jq
DOCKER_IP=$(docker inspect --format '{{ range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' teamspeak2)
DOCKER_IP=$(docker inspect --format '{{ range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' teamspeak)
BASE_COMMAND="http $DOCKER_IP:10080/1"
API_KEY="?api-key=$(cat api_key.secret)"

View File

@ -3,7 +3,7 @@ version: '3.7'
# Not run through traefik, causes too much slowdown: instead, using a DNS SRV rule.
services:
teamspeak:
image: teamspeak
image: teamspeak:3.13.7
container_name: teamspeak
ports:
- 9987:9987/udp #udp voice port
@ -16,7 +16,8 @@ services:
networks:
- teamspeak
db:
image: mariadb
image: mariadb:11.0.3
container_name: teamspeak-db
restart: always
env_file: ./secrets/teamspeak.secret
volumes: