-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get .env.local to work #175
Comments
It's weird, it works well in my case (and it's the common Symfony way of doing it). Can you share what |
|
Seems fine to me 🤷🏼 And what's in your .env.local file? |
Sanitized. Also, it doesn't recognize _FILE parameters, so I did have to change them around from my initial:
Renaming it to .env and running the migration command works. It just doesn't work when it is .env.local |
There's something shady in your local setup then, but I don't know what
What are |
No, where you append _FILE to the end of the ENV so that it'll take a file content rather than coding it into the ENV. It just makes secrets easier to manage when you load them from a common repository. The 'local' environment is Linuxserver's SWAG container. Because SWAG comes with the prereqs listed, I'm just podman exec -it $name /bin/bash and doing the initial work from inside the container. The folder davis resides in is a bind mount so the data won't be lost upon restart. |
I don't see how that would work, this is not something that Symfony provides (the framework used to power Davis) |
Not sure what I'm doing wrong. If I use .env, it works fine. .env.local with same permissions in the same directory does not.
Both .env and .env.local file exists:
Seems like it is reading the default .env file which is not configured. Rename .env to .env.dist to force read
Rename .env.local to .env
The text was updated successfully, but these errors were encountered: