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
I'm using env/def to define some env vars with defaults, e.g.
(env/def SERVER_PORT "8080")
I'm running into some trouble using AOT compilation in my boot build task. It seems that once I've AOT'd and uberjar'd my project, these environment definitions get "baked in", if that makes sense. Attempting to set them as follows always results in the default value for the SERVER_PORT var:
SERVER_PORT=9000 java -jar target/my-project.jar
in my logs:
Starting server on port 8080
I'm guessing that I may be misunderstanding the use of env/def, and that this is maybe intended behavior...any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
Hey there,
I'm using
env/def
to define some env vars with defaults, e.g.I'm running into some trouble using AOT compilation in my boot build task. It seems that once I've AOT'd and uberjar'd my project, these environment definitions get "baked in", if that makes sense. Attempting to set them as follows always results in the default value for the
SERVER_PORT
var:in my logs:
I'm guessing that I may be misunderstanding the use of
env/def
, and that this is maybe intended behavior...any help would be much appreciated.The text was updated successfully, but these errors were encountered: