summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 17:21:02 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 17:21:02 +0200
commitb3b781a8b5f75a83183108ac9fa98c71b12bb714 (patch)
tree21c16b40f37aa8e9a5949df2ab0d21ddd0584735 /frontends
parentebbd334691d5a1c884eb6d4965fc00d188a3c790 (diff)
Add MinVid Docker image build files
Amp-Thread-ID: https://ampcode.com/threads/T-019c1492-bec0-70f8-8d02-ef3596a7228b Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'frontends')
-rw-r--r--frontends/Rexfile8
-rw-r--r--frontends/etc/myname.tpl2
-rw-r--r--frontends/etc/relayd.conf.tpl6
3 files changed, 8 insertions, 8 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index 6a0746f..156d92d 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -132,10 +132,10 @@ task 'base',
run 'touch /etc/rc.local';
file '/etc/myname',
- content => template( './etc/myname.tpl', fqdns => $fqdns ),
- owner => 'root',
- group => 'wheel',
- mode => '644';
+ content => template( './etc/myname.tpl', fqdns => $fqdns, ipv4address => $ipv4address ),
+ owner => 'root',
+ group => 'wheel',
+ mode => '644';
};
desc 'Setup uptimed';
diff --git a/frontends/etc/myname.tpl b/frontends/etc/myname.tpl
index dcd4ca0..eb854c3 100644
--- a/frontends/etc/myname.tpl
+++ b/frontends/etc/myname.tpl
@@ -1 +1 @@
-<%= $fqdns->($vio0_ip) %>
+<%= $fqdns->($ipv4address->($hostname)) %>
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 7c38464..5c53df3 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -116,7 +116,7 @@ relay "https6" {
# Jellyfin alternative ports for Android app discovery
# Use the same "https" protocol to get X-Forwarded headers
# relay "jellyfin-8096-ipv4" {
-# listen on <%= $vio0_ip %> port 8096 tls
+# listen on <%= $ipv4address->($hostname) %> port 8096 tls
# protocol "https"
# forward to <f3s_jellyfin> port 30096 check tcp
# }
@@ -128,7 +128,7 @@ relay "https6" {
# }
# relay "jellyfin-8920-ipv4" {
-# listen on <%= $vio0_ip %> port 8920 tls
+# listen on <%= $ipv4address->($hostname) %> port 8920 tls
# protocol "https"
# forward to <f3s_jellyfin> port 30096 check tcp
# }
@@ -151,7 +151,7 @@ tcp protocol "gemini" {
}
relay "gemini4" {
- listen on <%= $vio0_ip %> port 1965 tls
+ listen on <%= $ipv4address->($hostname) %> port 1965 tls
protocol "gemini"
forward to 127.0.0.1 port 11965
}