[英]Dockerizing spring boot application with oracle database
How to dockerize spring boot application + oracle database? 如何通过dockerize spring boot application + oracle数据库?
I want to create a docker file for spring boot application. 我想为Spring Boot应用程序创建一个docker文件。 for this I am using Dockerfile, Docker-compose.
为此,我正在使用Dockerfile,Docker-compose。
Your question is pretty generic, but as main guidelines i would say you should create two images, one for the oracle db, and another for spring. 您的问题相当笼统,但是作为主要指导原则,我要说您应该创建两个映像,一个用于oracle db,另一个用于spring。 Later you can include these two in your compose file.
稍后,您可以在撰写文件中包括这两个。
For building an oracle image you can have a look here: Oracle Database on Docker 要构建oracle映像,可以在这里查看: Docker上的Oracle数据库
and for building a docker image with spring: Spring Boot Docker 以及使用spring构建docker映像: Spring Boot Docker
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.