摘要:
1 2 3 4 5 6 7 8 9 阅读全文
posted @ 2020-01-02 16:45
panchanggui
阅读(475)
评论(1)
推荐(0)
摘要:
当docker启动SpringBoot打包的服务时,且一些参数需要从外界获取而非写死在properties文件里,通过以下两步完成此需求:1.在配置文件中配置环境变量 spring.redis.host=${REDIS_HOST:127.0.0.1}spring.redis.port=6379spr 阅读全文
posted @ 2020-01-02 16:41
panchanggui
阅读(11203)
评论(0)
推荐(0)

浙公网安备 33010602011771号