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:
parent
2a190bd39a
commit
740fca4fcf
2 changed files with 10 additions and 6 deletions
|
|
@ -29,6 +29,8 @@
|
||||||
"26900:26900/udp"
|
"26900:26900/udp"
|
||||||
"26901:26901/udp"
|
"26901:26901/udp"
|
||||||
"26902:26902/udp"
|
"26902:26902/udp"
|
||||||
|
# WebDashboard — localhost-only; nginx reverse-proxies it with Authelia
|
||||||
|
"127.0.0.1:8090:8080/tcp"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
START_MODE = "1";
|
START_MODE = "1";
|
||||||
|
|
@ -72,6 +74,7 @@
|
||||||
set_prop WorldGenSeed "Nordhammer"
|
set_prop WorldGenSeed "Nordhammer"
|
||||||
set_prop WorldGenSize "8192"
|
set_prop WorldGenSize "8192"
|
||||||
set_prop GameName "Nordhammer"
|
set_prop GameName "Nordhammer"
|
||||||
|
set_prop WebDashboardEnabled "true"
|
||||||
|
|
||||||
touch "$MARKER"
|
touch "$MARKER"
|
||||||
echo "Patched; restarting container to apply."
|
echo "Patched; restarting container to apply."
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@ in
|
||||||
# --- Protected by Authelia ---
|
# --- Protected by Authelia ---
|
||||||
"camera.nordhammer.it" = protectedProxy 1984;
|
"camera.nordhammer.it" = protectedProxy 1984;
|
||||||
"homepage.nordhammer.it" = protectedProxy 8082;
|
"homepage.nordhammer.it" = protectedProxy 8082;
|
||||||
|
"7dtd.nordhammer.it" = protectedProxy 8090;
|
||||||
|
|
||||||
# --- Local-only: serves update history JSON to Homepage's customapi widget ---
|
# --- Local-only: serves update history JSON to Homepage's customapi widget ---
|
||||||
"homepage-updates.local" = {
|
"homepage-updates.local" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue