How to run docker containers with external application properties files? & how to add properties file into the docker volume ? how to mount the volume with another container?.
This 2 links contain all you want.
Check is out first How to use external application properties file
Then, learn how to manage dockerFile How to initial docker and do volume
After that, just include the properties file in docker image or mount volumn of your local and execute the application with a bit extra command.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.