Hi all!
I need to have my config file "application.yaml" in a different location than in the config dir directory next to quarkus. I want to comply with standard linux paths and put my application.yaml in
/etc/myapp/application.yaml
where the quarkus binaries will be elsewhere.
Is there a way to provide that config location using a JVM property ?
Something like below would be ideal:
java -jar /usr/local/my-app/quarkus-app/quarkus-run.jar -Dconfig.location=/etc/myapp/application.yaml
I tried to add the directory /etc/myapp to the classpath but it does not work:
java -cp "/etc/myapp:*" -jar /usr/local/my-app/quarkus-app/quarkus-run.jar
Thanks a lot for any hints!
Cheers,
Nicolas