如何在Docker中使用Oracle和ActiveMQ部署WAR文件到Tomcat?

huangapple go评论70阅读模式
英文:

how can i deploy WAR files on Tomcat using Oracle and ActiveMQ in Docker?

问题

我想在运行在Docker上的Tomcat容器上部署我的所有应用程序"war"文件,该容器依赖于Oracle 12c容器和ActiveMQ容器。什么方法比较好?是使用docker-compose还是执行3个不同的镜像?

英文:

I want to deploy all my application war files on tomcat container running in docker which is dependent on Oracle 12c Container and ActiveMQ container. What will be good approach?using docker-compose or executing 3 different images?

答案1

得分: 0

可以通过运行单独的Docker容器来完成的任何操作都可以使用docker-compose来完成。实际上,docker-compose是用于定义和运行多容器Docker应用程序的工具。

英文:

Anything that can done by running individual docker containers can be done using docker-compose. In fact docker-compose is built for defining and running multi-container Docker applications.

huangapple
  • 本文由 发表于 2020年1月6日 18:03:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/59610061.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定