【发布时间】:2018-05-17 06:49:09
【问题描述】:
我是 aws elastic beanstalk 的新手,我们曾经有一个 jar 中的 springboot 应用程序部署在 ec2 中。我们在外部存储 application.properties 和 log4j2 配置文件,并通过命令参数(--spring.configuration.location 等)使我们的 springboot jar 使用这些配置。现在我们想将我们的应用程序迁移到弹性 beantalk,我已经阅读了文档,但没有找到实现此目的的好方法,并且看起来那些配置文件必须打包在 jar 中。有没有办法将这些文件保留在 eb env 中的 jar 外部?
【问题讨论】:
标签: amazon-web-services spring-boot amazon-elastic-beanstalk