Has anyone here used docker-compose for scala projects (sbt)? Would like to understand ups and downs of using this with scala.
有没有人在这里使用docker-compose进行scala项目(sbt)?想了解使用scala的起伏。
1 个解决方案
#1
0
Nothing stops you to use docker-compose to bring up your project dependencies, once I used it to start MySQL and Hadoop (see here) and then, run the project with sbt.
一旦我用它来启动MySQL和Hadoop(见这里)然后用sbt运行项目,没有什么能阻止你使用docker-compose来调出你的项目依赖项了。
EDIT: I found this gist that tells gives you an example to integrate your sbt environment: https://gist.github.com/hlegius/ead3670eda810d653c7b2bcab4574cfe
编辑:我发现这个要点告诉你一个集成你的sbt环境的例子:https://gist.github.com/hlegius/ead3670eda810d653c7b2bcab4574cfe
#1
0
Nothing stops you to use docker-compose to bring up your project dependencies, once I used it to start MySQL and Hadoop (see here) and then, run the project with sbt.
一旦我用它来启动MySQL和Hadoop(见这里)然后用sbt运行项目,没有什么能阻止你使用docker-compose来调出你的项目依赖项了。
EDIT: I found this gist that tells gives you an example to integrate your sbt environment: https://gist.github.com/hlegius/ead3670eda810d653c7b2bcab4574cfe
编辑:我发现这个要点告诉你一个集成你的sbt环境的例子:https://gist.github.com/hlegius/ead3670eda810d653c7b2bcab4574cfe