Braulio Dias Ribeiro Posted Friday at 02:33 PM Posted Friday at 02:33 PM 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 Quote
tjb_altf4 Posted Friday at 02:53 PM Posted Friday at 02:53 PM 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 Quote
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.