1、部署
parent
6f0d02f80d
commit
abcc969a4d
|
|
@ -1,6 +1,7 @@
|
||||||
spring:
|
spring:
|
||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- classpath:nacos.yml
|
- classpath:nacos-prod.yml
|
||||||
|
# - classpath:nacos.yml
|
||||||
- classpath:sdk.yml
|
- classpath:sdk.yml
|
||||||
- classpath:swagger.yml
|
- classpath:swagger.yml
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
nacos:
|
||||||
|
url: prod-nacos:8848
|
||||||
|
namespace: jjb-dragon
|
||||||
|
application:
|
||||||
|
name: zcloud-gbs-personnel-positioning
|
||||||
|
version:
|
||||||
|
gateway: personnelPositioning
|
||||||
|
cn-name: 人员定位
|
||||||
|
spring:
|
||||||
|
application:
|
||||||
|
name: ${application.name}${application.version}
|
||||||
|
profiles:
|
||||||
|
# 环境配置
|
||||||
|
active: prod
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
config:
|
||||||
|
username: nacos
|
||||||
|
password: u9Hc7tLFBY
|
||||||
|
namespace: ${nacos.namespace}
|
||||||
|
server-addr: ${nacos.url}
|
||||||
|
file-extension: yml
|
||||||
|
shared-configs:
|
||||||
|
- config-common.yml
|
||||||
|
- config-port.yml
|
||||||
|
- config-mq.yml
|
||||||
|
- config-log.yml
|
||||||
|
- config-sdk-server.yml
|
||||||
|
- config-actuator.yml
|
||||||
|
- config-job.yml
|
||||||
|
- config-mysql.yml
|
||||||
|
- config-redis.yml
|
||||||
|
- config-cache.yml
|
||||||
|
- config-spring.yml
|
||||||
|
- config-mybatis.yml
|
||||||
|
- config-sdk.yml
|
||||||
|
- config-flyway.yml
|
||||||
|
discovery:
|
||||||
|
server-addr: ${spring.cloud.nacos.config.server-addr}
|
||||||
|
namespace: ${spring.cloud.nacos.config.namespace}
|
||||||
|
username: nacos
|
||||||
|
password: u9Hc7tLFBY
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
sdk:
|
sdk:
|
||||||
server:
|
server:
|
||||||
app-key: 722091ff53dd4abba078c2a00efd4a42
|
app-key: e1e54190a3c54de58487864ff7671bf7
|
||||||
client:
|
client:
|
||||||
gateway:
|
gateway:
|
||||||
url: ${common.gateway.network.http.external}
|
url: ${common.gateway.network.http.external}
|
||||||
|
|
@ -14,7 +14,7 @@ sdk:
|
||||||
name: ${application.cn-name}-后端
|
name: ${application.cn-name}-后端
|
||||||
group-code: public_api
|
group-code: public_api
|
||||||
strip-prefix: 0
|
strip-prefix: 0
|
||||||
uri: lb://${application.name}
|
uri: http://${application.name}
|
||||||
path: /${application.gateway}/**
|
path: /${application.gateway}/**
|
||||||
- client:
|
- client:
|
||||||
system-code: ${application.name}-container
|
system-code: ${application.name}-container
|
||||||
|
|
@ -25,7 +25,7 @@ sdk:
|
||||||
name: ${application.cn-name}-前端
|
name: ${application.cn-name}-前端
|
||||||
group-code: public_api
|
group-code: public_api
|
||||||
strip-prefix: 0
|
strip-prefix: 0
|
||||||
uri: lb://jjb-saas-base
|
uri: http://jjb-saas-base
|
||||||
path: /${application.gateway}/container/**
|
path: /${application.gateway}/container/**
|
||||||
order: -2
|
order: -2
|
||||||
openapi:
|
openapi:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue