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.

FQDN variable for docker WebUI parameter

Featured Replies

With the addition of TLD support in 6.4.1-rc1 it got me wondering if there are variables I can use in the docker WebUI parameter instead of [IP]?

 

Something like:

[HOST] - hostname

[TLD] - tld

[FQDN] -= hostname.tld

  • Author
5 minutes ago, bonienl said:

There is only [IP] for Docker containers.

 

Kind of a shame since unRAID supports ssl/tls now.  Any plans for adding these?

On 2/2/2018 at 7:49 AM, ksarnelli said:

Kind of a shame since unRAID supports ssl/tls now.  Any plans for adding these?

 

Would adding [FQDN] cover it?  Keep in mind this wouldn't work for Docker apps that are given their own IP separate from the unRAID host (e.g. Network type br0 with a IP specified).

  • Author
5 minutes ago, eschultz said:

 

Would adding [FQDN] cover it?  Keep in mind this wouldn't work for Docker apps that are given their own IP separate from the unRAID host (e.g. Network type br0 with a IP specified).

 

[FQDN] should cover it.

 

Understood that it wouldn't work for dockers with their own IPs, but since [FQDN] wouldn't be the default variable used in the WebUI parameter it should be fine.  Anyone who would be manually switching it to [FQDN] would most likely understand that.

 

Thanks a ton!

Edited by ksarnelli

What if [FQDN] would fallback to IP if the docker had a different IP? That would be a good user experience I believe.

Also if you didnt have a FQDN set, in case templates online would start using the [FQDN] variabel.

Also +1 for the [HOST] - hostname, I dont use FQDN but I do use hostname in my local network.

7 minutes ago, Ziggurat said:

What if [FQDN] would fallback to IP if the docker had a different IP? That would be a good user experience I believe.

I was planning to do just that actually.

 

9 minutes ago, Ziggurat said:

Also +1 for the [HOST] - hostname, I dont use FQDN but I do use hostname in my local network.

I think FQDN would work best as long as your TLD is configured properly (most people will be .local anyways, which is the default).  Reason is MacOS will resolve better using FQDN over just HOSTNAME.  Windows seems to work well with either.

@eschultz Okay I see, yeah I am resolving the .local addresses using avahi and nss-mdns.

For me it looked like I needed to install bounjor service on windows to get this to work, which installing almost any apple software will do. I have historically installed the apple print drivers on Windows to get the bounjor service without installing any more bload than the driver files for their usb print server. Last time I did this I needed to use the hostname.local on the raspberry pi sshing over a usb virtual ethernet gadget device.

  • 1 month later...
  • Author
On 2/5/2018 at 5:16 AM, eschultz said:

I was planning to do just that actually.

 

I think FQDN would work best as long as your TLD is configured properly (most people will be .local anyways, which is the default).  Reason is MacOS will resolve better using FQDN over just HOSTNAME.  Windows seems to work well with either.

 

Just checking in to see if this was implemented in 6.5 or if it's planned for a future version?  I didn't see it in the release notes. Thanks!

  • 2 years later...

Also interested in this feature. Unfortunately not working as of unRaid 6.8.3.

  • 3 weeks later...

Any updates on this? Further having the ability to use more complex variables, such as http://[FQDN:IP]:[PORT:12345] would help tremendiously, especially with things like IP changes and CIDR migrations.

Edited by Didstopia

  • 4 months later...

I am also interested in this functionality. I would like to use it to configure the WebUI for my organizr docker container to use my server's hostname rather than its IP. This is important because all of the tabs in my organizr instance are referred to by hostname and if the FQDN of the organizr instance does not match the FQDN of the pages which are loaded within the iframes of each tab logins are redirected indefinitely making it impossible to login. Right now, I have hardcoded my server's hostname into the WebUI field but it would be more robust to refer to the hostname indirectly via a [HOST] or [FQDN] variable.

  • 1 month later...

I too would like the ability to assign a fqdn to all my dockers

  • 1 year later...

This flexibility (or even documentation on what variables exist) would be awesome.

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.