|
@@ -6,11 +6,11 @@ jasypt:
|
|
spring:
|
|
spring:
|
|
redis:
|
|
redis:
|
|
password:
|
|
password:
|
|
- host: pigx-redis
|
|
|
|
|
|
+ host: ${REDIS-HOST:pigx-redis}
|
|
# zipkin
|
|
# zipkin
|
|
zipkin:
|
|
zipkin:
|
|
enabled: true
|
|
enabled: true
|
|
- base-url: http://pigx-zipkin
|
|
|
|
|
|
+ base-url: http://${ZIPKIN-HOST:pigx-zipkin}
|
|
sleuth:
|
|
sleuth:
|
|
web:
|
|
web:
|
|
client:
|
|
client:
|
|
@@ -79,7 +79,7 @@ mybatis-plus:
|
|
|
|
|
|
#swagger公共信息
|
|
#swagger公共信息
|
|
swagger:
|
|
swagger:
|
|
- host: pigx-gateway:9999
|
|
|
|
|
|
+ host: ${GATEWAY-HOST:pigx-gateway}:${GATEWAY-PORT:9999}
|
|
title: PigX Swagger API
|
|
title: PigX Swagger API
|
|
description: 全宇宙最牛逼的Spring Cloud微服务开发脚手架
|
|
description: 全宇宙最牛逼的Spring Cloud微服务开发脚手架
|
|
version: @project.version@
|
|
version: @project.version@
|
|
@@ -97,7 +97,7 @@ swagger:
|
|
- scope: server
|
|
- scope: server
|
|
description: server all
|
|
description: server all
|
|
token-url-list:
|
|
token-url-list:
|
|
- - http://pigx-gateway:9999/auth/oauth/token
|
|
|
|
|
|
+ - http://${GATEWAY-HOST:pigx-gateway}:${GATEWAY-PORT:9999}/auth/oauth/token
|
|
|
|
|
|
## spring security 配置
|
|
## spring security 配置
|
|
security:
|
|
security:
|
|
@@ -109,4 +109,4 @@ security:
|
|
- /v2/api-docs
|
|
- /v2/api-docs
|
|
resource:
|
|
resource:
|
|
loadBalanced: true
|
|
loadBalanced: true
|
|
- token-info-uri: http://pigx-auth/oauth/check_token
|
|
|
|
|
|
+ token-info-uri: http://${AUTH-HOST:pigx-auth}/oauth/check_token
|