简体   繁体   English

使用Oracle数据库对Spring Boot应用程序进行Docker化

[英]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.

相关问题 具有Oracle数据库重置连接的容器化Spring Boot应用程序 - Containerized spring boot application with oracle database resetting connection 如何在Heroku中将Oracle jdbc数据库客户端添加到Spring引导应用程序中? - How to add Oracle jdbc database client to Spring boot application in Heroku? Oracle spring-boot 应用程序中的数据库性能问题 - Oracle Database performance issue in spring-boot application 即使在重新启动 oracle 数据库后,Spring Boot 应用程序仍保留与数据库的旧连接也返回零记录 - Spring boot application holdings old connections to database even after restart of oracle database also returning zero records 如何将 Oracle 配置为 Spring 启动应用程序 - How to configure Oracle to Spring boot application 如何使用spring boot连接oracle数据库 - How to connect to oracle database using spring boot Spring boot 应用程序我无法从 oracle 数据库中获取数据,它在 postman 中返回 [] - Spring boot application I can not get data from oracle database it returns [] in postman 无法在具有 Hibernate 和 Oracle 11g 数据库的 Spring Boot 应用程序中读取第二个Refcursor - Unable to Read 2nd Refcursor in a Spring Boot application with Hibernate and Oracle 11g Database 在 Spring Boot 应用程序中连接到多个数据库模式 - Connect to multiple database schemas in Spring boot application 为什么在尝试像oracle这样的数据库连接时在spring boot的application.properties中没有提到驱动程序名称? - Why we do not mentioned driver name in application.properties in spring boot when trying to connect database like oracle?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM