Set port via env variable #735
Unanswered
JosiahParry
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@JosiahParry Not sure what you want to achieve. You can pass the port as part of the ENV when the app starts, or you can set it in the app using the available API. Logically I can't think of any other ways to do it. Can you explain the reasoning behind your situation? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a script that will launch a genie app on a random port that is discovered at run time. Say that port is 8310, how can we ensure that Genie.jl uses it without using
as shown at https://learn.genieframework.com/framework/genie.jl/docs/configuration
Beta Was this translation helpful? Give feedback.
All reactions