Dockerized Spring boot app connect to database docker image
问题 I have a basic spring boot application with gradle which makes calls to an Oracle database and the database properties are specified in an application.properties file. I created a Docker image of the spring boot application with the plugin "com.google.cloud.tools.jib" and using the following command: ./gradlew jibDockerBuild --image=app1 I have a docker-compose file in which i specify the image as an service and i want the application to start when i run the command: "docker-compose up" The