You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use PORT in .env like so it will use the port defined in the environment file.
PORT=7777
If I try to use something like DB_PORT it will default to 5000
DB_PORT=7777
I've looked through previous issues and I cannot tell if this is expected functionality or not. If it is, some added documentation about it would be helpful. Previously closed issues made it sound like the first example I gave should not work, yet it does.
If it's going to automatically assign the ports is there a way for me to access those in my scripts given that they're not matching what I threw into the .env file. (I guess I could pass it in as an argument to the script if supported, assume the same variable will contain the same port per line and not increment per read)
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If I use
PORT
in.env
like so it will use the port defined in the environment file.If I try to use something like
DB_PORT
it will default to 5000I've looked through previous issues and I cannot tell if this is expected functionality or not. If it is, some added documentation about it would be helpful. Previously closed issues made it sound like the first example I gave should not work, yet it does.
If it's going to automatically assign the ports is there a way for me to access those in my scripts given that they're not matching what I threw into the
.env
file. (I guess I could pass it in as an argument to the script if supported, assume the same variable will contain the same port per line and not increment per read)The text was updated successfully, but these errors were encountered: