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.

Variables when installing Docker Apps

Featured Replies

Greetings,

Installed unRAID yesterday and I'm thoroughly impressed, however, I've got a question with regards to using Docker apps.

Coming from docker-compose, I could create an .env file, where I could stick in 'common stuff' and use via variables in docker-compose.yml. For example my .env could look like :

PUID=1000
PGID=1000
TZ="London/Europe"

 

and use that throughout docker-compose.yml as such :

  organizr:
    container_name: organizr
    hostname: organizr
    restart: always
    image: lsiocommunity/organizr
    volumes:
      - ${ROOT}/Docker/organizr:/config
      - ${ROOT}/Docker/shared:/shared
    ports:
      - "9000:80"
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}

Is there a way I can achieve the same in unRAID?

Thanks
 

No problem - the Docker GUI supports adding variables when configuring a container.   Obviously you then need the container to internally make use of these variables.

  • 5 years later...

Hi there,

 

Could you tell me how can I create that .env file in Unraid? I mean, of course I can do it on the terminal, but do I need to have any consideretions first?

 

Does it need to be at any specific location? And what about permissions?

 

Thank you!

Edited by blinkito

  • 4 months later...

I'm still looking for this, any updates?

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.