I am trying to deploy a WAR WAR file in Jetty 9 with Docker. I would like to set things up like a database URI string, loglevel, and environment variables such that I can also use the docker link functions.
But, if I run the application through java -jar start.jar , the environment variables that I set are not available to the application.
What is the easiest way to pass environment variables to my application?
source share