Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (â‹®) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Global variables

Featured Replies

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}

 

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.

  • Author
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...

global-vars.png

SCR-20230413-nhyn.png

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.