.env not generating #2473
Unanswered
MattEzekiel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble deploying my Laravel app. Honestly, I'm new to this and don't know much about infrastructure, Docker, etc.
So, I've been following various tutorials and reading on Google, but I can't find a way to complete the deployment.
My project is a Laravel 12 project. I configured the variables from the project/application.
The build works fine, but I get warnings in the logs like: Your app configuration references the DB_URL environment variable, but it is not set.
But if I go through the terminal and printenv, I see the environment variables, but not the .env that the app thinks it wants to look for.
I didn't do any additional configuration. I don't know if dokploy automatically understood the project or what happened, but it detects that it's a Laravel project and handles the entire build correctly, except for the .env files. What do I need to do to configure this correctly?
Beta Was this translation helpful? Give feedback.
All reactions