在使用Maven构建Spring-boot映像时,我现在在Dockerfile中执行此操作。Maven将下载所有依赖项,然后编译我的文件。这需要相当长的时间。如何通过docker-compose (Dockerfile)指定构建过程重用我的“Maven "Windows10存储库?因此,(新的)下载量是最小的。is是我的docker-compose.yml文件的一部分:services:
spring
我已经安装了postgres docker容器和springboot应用程序作为另一个docker容器。但是Springboot应用程序无法连接到数据库。下面是我的数据库连接代码: # name is used in quartz scheduling initial table creation in db# postgresql, <em