Replies: 1 comment
-
You don't need to explicitly add all the env options you can just have them in your .env in the following format: PGHOST=127.0.0.1 then user the following code for the config:
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
How pass to config a variable from local enviroment? To be more precise a
port
variable?Every other variable works, but as soon as I want pass
port
it stops sayinginvalid url
I store port in
.env
like this:DB_PORT=5432
Beta Was this translation helpful? Give feedback.
All reactions