1、部署

master
shenzhidan 2026-07-13 15:53:40 +08:00
parent 6f0d02f80d
commit abcc969a4d
3 changed files with 50 additions and 4 deletions

View File

@ -1,6 +1,7 @@
spring:
config:
import:
- classpath:nacos.yml
- classpath:nacos-prod.yml
# - classpath:nacos.yml
- classpath:sdk.yml
- classpath:swagger.yml

View File

@ -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

View File

@ -1,6 +1,6 @@
sdk:
server:
app-key: 722091ff53dd4abba078c2a00efd4a42
app-key: e1e54190a3c54de58487864ff7671bf7
client:
gateway:
url: ${common.gateway.network.http.external}
@ -14,7 +14,7 @@ sdk:
name: ${application.cn-name}-后端
group-code: public_api
strip-prefix: 0
uri: lb://${application.name}
uri: http://${application.name}
path: /${application.gateway}/**
- client:
system-code: ${application.name}-container
@ -25,7 +25,7 @@ sdk:
name: ${application.cn-name}-前端
group-code: public_api
strip-prefix: 0
uri: lb://jjb-saas-base
uri: http://jjb-saas-base
path: /${application.gateway}/container/**
order: -2
openapi: