Expose 7DTD WebDashboard behind Authelia at 7dtd.nordhammer.it

Publishes the container's web dashboard port only on host loopback
(127.0.0.1:8090) so nginx can reverse-proxy it with Authelia
forward-auth, matching the Homepage/camera vhost pattern. Also flips
WebDashboardEnabled to true in the XML patcher so the server actually
starts the web server.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-18 21:43:11 +01:00
parent 2a190bd39a
commit 740fca4fcf
2 changed files with 10 additions and 6 deletions

View file

@ -29,6 +29,8 @@
"26900:26900/udp"
"26901:26901/udp"
"26902:26902/udp"
# WebDashboard — localhost-only; nginx reverse-proxies it with Authelia
"127.0.0.1:8090:8080/tcp"
];
environment = {
START_MODE = "1";
@ -66,12 +68,13 @@
sed -i "s|<property name=\"$1\"[^/]*value=\"[^\"]*\"|<property name=\"$1\" value=\"$2\"|" "$CONFIG"
}
set_prop ServerName "Nordhammer.it"
set_prop ServerPassword "DaveSmells"
set_prop GameWorld "RWG"
set_prop WorldGenSeed "Nordhammer"
set_prop WorldGenSize "8192"
set_prop GameName "Nordhammer"
set_prop ServerName "Nordhammer.it"
set_prop ServerPassword "DaveSmells"
set_prop GameWorld "RWG"
set_prop WorldGenSeed "Nordhammer"
set_prop WorldGenSize "8192"
set_prop GameName "Nordhammer"
set_prop WebDashboardEnabled "true"
touch "$MARKER"
echo "Patched; restarting container to apply."

View file

@ -107,6 +107,7 @@ in
# --- Protected by Authelia ---
"camera.nordhammer.it" = protectedProxy 1984;
"homepage.nordhammer.it" = protectedProxy 8082;
"7dtd.nordhammer.it" = protectedProxy 8090;
# --- Local-only: serves update history JSON to Homepage's customapi widget ---
"homepage-updates.local" = {