mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
fix:docker启动nacos-server无法访问配置文件
This commit is contained in:
parent
a040c66f00
commit
6a8d0a6e3b
@ -9,6 +9,8 @@ spring:
|
||||
discovery:
|
||||
server-addr: http://localhost:8848
|
||||
config:
|
||||
# docker启动nacos-server需要配置
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
group: DEFAULT_GROUP
|
||||
prefix: ${spring.application.name}
|
||||
|
@ -9,6 +9,8 @@ spring:
|
||||
discovery:
|
||||
server-addr: http://localhost:8848
|
||||
config:
|
||||
# docker启动nacos-server需要配置
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
file-extension: yaml
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user