Initial commit

This commit is contained in:
2025-10-02 08:54:03 +02:00
commit ea54638227
1642 changed files with 53677 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/sh
# clear ssr cache
set -o allexport
SCRIPTDIR=$(dirname "$0")
source $SCRIPTDIR/../.env
set +o allexport
ssrUrl="https://${PROJECT_NAME}-tibiserver.code.testversion.online/api/v1/_/${TIBI_NAMESPACE}/ssr"
curl -X POST -H "Content-Type: application/json" -d '{}' "${ssrUrl}?clear=1"
sleep 1
# restart tibiserver and tibiserver-dev (if exists)
docker compose -f docker-compose-local.yml restart tibiserver 2>&1
docker compose -f docker-compose-local.yml restart tibiserver-dev 2>&1
exit 0