Spring Boot - Docker and Deployment
You want to share a configuration file from your host machine with a Spring Boot service in
docker-compose. Which is the correct way to do this?docker-compose. Which is the correct way to do this?volumes mounts host files or directories into containers.environment passes variables, depends_on manages service order, and ports exposes network ports, none share files.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions