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.

.env doesn't work

Featured Replies

Why doesn't Docker read the .env file?
But if I set the variables inside Docker it accepts them.

 

I already tried

chown -R 99:100
chown -R 1001:1000

Solved by tjb_altf4

  • Community Expert
  • Solution

Docker doesn't look for an env by default, you need to specify that it needs to read one.

 

Turn on advanced view in template, and look for "Extra Parameters", add this to that field, adjusting for the actual path to the env 🙂

 

--env-file=/mnt/user/appdata/homepage/.env

 

No special permissions required

 

  • 2 weeks later...
  • Author
On 1/10/2025 at 11:53 AM, tjb_altf4 said:

Docker doesn't look for an env by default, you need to specify that it needs to read one.

 

Turn on advanced view in template, and look for "Extra Parameters", add this to that field, adjusting for the actual path to the env 🙂

 

--env-file=/mnt/user/appdata/homepage/.env

 

No special permissions required

 

Is this the same as appdata?

Appdata = /mnt/user/appdata/evoapi

Edited by Braulio Dias Ribeiro

  • Community Expert
6 hours ago, Braulio Dias Ribeiro said:

Is this the same as appdata?

Appdata = /mnt/user/appdata/evoapi

Its not mandatory to use the appdata path for .envs, but in terms of keeping things organised together, its a neat solution.
In my example I've used the appdata folder for homepage to store the .env, so changing it for your example to evoapi is an appropriate change.

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.