Initial PlayBull release with Trilogy Hub integration.
Includes homelab deploy tooling, image position/zoom manifest persistence, and full trading/casino stack. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
deploy/duckdns-update.bat
Normal file
15
deploy/duckdns-update.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
REM DuckDNS IP-Updater fuer Windows (optional, falls kein Linux-Homelab-Timer)
|
||||
setlocal
|
||||
cd /d "%~dp0.."
|
||||
if not exist "deploy\env.homelab" (
|
||||
echo deploy\env.homelab fehlt
|
||||
exit /b 1
|
||||
)
|
||||
for /f "usebackq tokens=1,2 delims==" %%a in ("deploy\env.homelab") do (
|
||||
if "%%a"=="DUCKDNS_TOKEN" set DUCKDNS_TOKEN=%%b
|
||||
if "%%a"=="DUCKDNS_DOMAIN" set DUCKDNS_DOMAIN=%%b
|
||||
)
|
||||
for /f "delims=" %%i in ('powershell -NoProfile -Command "(Invoke-WebRequest -Uri 'https://api.ipify.org' -UseBasicParsing).Content"') do set IPV4=%%i
|
||||
for /f "tokens=1 delims=." %%s in ("%DUCKDNS_DOMAIN%") do set SUB=%%s
|
||||
powershell -NoProfile -Command "$r=(Invoke-WebRequest -Uri 'https://www.duckdns.org/update?domains=%SUB%&token=%DUCKDNS_TOKEN%&verbose=true&ip=%IPV4%' -UseBasicParsing).Content; Write-Host (Get-Date -Format o) 'duckdns' '%SUB%:' $r 'ip=' '%IPV4%'"
|
||||
Reference in New Issue
Block a user