Browse Source

增加pilot平台配置

pull/1/head
wanghaoran 2 years ago
parent
commit
9e92e0b0c6
4 changed files with 84 additions and 0 deletions
  1. +21
    -0
      src/main/resources/application-dev.yml
  2. +21
    -0
      src/main/resources/application-local.yml
  3. +21
    -0
      src/main/resources/application-prod.yml
  4. +21
    -0
      src/main/resources/application-test.yml

+ 21
- 0
src/main/resources/application-dev.yml View File

@@ -101,6 +101,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 21
- 0
src/main/resources/application-local.yml View File

@@ -101,6 +101,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 21
- 0
src/main/resources/application-prod.yml View File

@@ -89,6 +89,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 21
- 0
src/main/resources/application-test.yml View File

@@ -89,6 +89,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

Loading…
Cancel
Save