简体   繁体   中英

Dockerizing spring boot application with oracle database

How to dockerize spring boot application + oracle database?

I want to create a docker file for spring boot application. for this I am using 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. 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

and for building a docker image with spring: Spring Boot Docker

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM