Brian Yuen Posted April 13, 2023 Share Posted April 13, 2023 Hello, I've been on unRAID for just a few months and enjoying it. I seem to enjoy tweaking and optimizing the server more than sitting down and just enjoying the content that I'm serving from it 😆 With that said, I decided that adding a VPN for my *arr and torrent/usenet services would be a good idea. I had to reconfigure my "Network type" on these containers to get things talking together again and had the pleasure of manually changing out all host names from something like http://binhex-sonarr:8989 to my actual server ip address http://192.168.1.xx:8989. These were often hidden away in some obscure place that I would often forget... and then spending the next hour troubleshooting what went wrong.  It would be great if there was a feature in unRAID that would allow for global variables. Something like: Key 1: server_ip Value 1: 192.168.1.xx  And then allow them to be injected anywhere, in the container template, in the application settings like so: Host: {server_ip}  Quote Link to comment
Squid Posted April 13, 2023 Share Posted April 13, 2023 Are you talking about the WebUI entry on the template? Â It was probably already set up with something akin to http://[IP]:[PORT80]/ Â Where when the WebUI resolves the URL it goes to the IP address of the server (if in host or bridge mode) or the IP of the container itself if not in host / bridge and the port 80 is mapped to in the container (bridge mode) or port 80 for all other networking modes. Quote Link to comment
Brian Yuen Posted April 13, 2023 Author Share Posted April 13, 2023 1 hour ago, Squid said: Are you talking about the WebUI entry on the template? Â It wouldn't be limited to just the WebUI. It would be a feature that would be added to the WebUI under Settings or Tools. The variables can then be used anywhere including from within the GUIs on other containers. It's probably a long shot, but doesn't hurt to ask... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.