Commit 1cf4913fe415b0447d3d791a2b3febaffa23054a
1 parent
80da869a
添加infrastructure配置文件
Showing
5 changed files
with
102 additions
and
0 deletions
class-service.yml
0 → 100644
| 1 | +server: | |
| 2 | + port: 16100 | |
| 3 | + | |
| 4 | +spring: | |
| 5 | + profiles: | |
| 6 | + active: development | |
| 7 | + | |
| 8 | +endpoints: | |
| 9 | + restart: | |
| 10 | + enabled: true | |
| 11 | + shutdown: | |
| 12 | + enabled: true | |
| 13 | + health: | |
| 14 | + sensitive: false | |
| 15 | + | |
| 16 | +eureka: | |
| 17 | + instance: | |
| 18 | + hostname: discovery | |
| 19 | + client: | |
| 20 | + registerWithEureka: true | |
| 21 | + fetchRegistry: true | |
| 22 | + serviceUrl: | |
| 23 | + defaultZone: http://discovery:15200/eureka/ | |
| 0 | 24 | \ No newline at end of file | ... | ... |
config.yml
0 → 100644
| 1 | +server: | |
| 2 | + port: 15100 | |
| 3 | + | |
| 4 | +spring: | |
| 5 | + profiles: | |
| 6 | + active: development | |
| 7 | + | |
| 8 | +spring: | |
| 9 | + profiles: development | |
| 10 | + cloud: | |
| 11 | + config: | |
| 12 | + server: | |
| 13 | + git: | |
| 14 | + uri: http://gitlab.gaoxiaobang.com/zygj/huike-eaas-config.git | |
| 15 | + username: xzli | |
| 16 | + password: kkb-lixzh1986 | |
| 17 | + | |
| 18 | +endpoints: | |
| 19 | + restart: | |
| 20 | + enabled: true | |
| 21 | + shutdown: | |
| 22 | + enabled: true | |
| 23 | + health: | |
| 24 | + sensitive: false | |
| 25 | + | |
| 26 | +eureka: | |
| 27 | + instance: | |
| 28 | + hostname: configserver | |
| 29 | + client: | |
| 30 | + registerWithEureka: true | |
| 31 | + fetchRegistry: true | |
| 32 | + serviceUrl: | |
| 33 | + defaultZone: http://discovery:15200/eureka/ | |
| 0 | 34 | \ No newline at end of file | ... | ... |
discovery.yml
0 → 100644
| 1 | +server: | |
| 2 | + port: 15200 | |
| 3 | + | |
| 4 | +spring: | |
| 5 | + profiles: | |
| 6 | + active: development | |
| 7 | + | |
| 8 | +endpoints: | |
| 9 | + restart: | |
| 10 | + enabled: true | |
| 11 | + shutdown: | |
| 12 | + enabled: true | |
| 13 | + health: | |
| 14 | + sensitive: false | |
| 15 | + | |
| 16 | +eureka: | |
| 17 | + instance: | |
| 18 | + hostname: discovery | |
| 19 | + client: | |
| 20 | + registerWithEureka: true | |
| 21 | + fetchRegistry: true | |
| 22 | + serviceUrl: | |
| 23 | + defaultZone: http://discovery:15200/eureka/ | |
| 0 | 24 | \ No newline at end of file | ... | ... |
gateway.yml
0 → 100644
| 1 | +server: | |
| 2 | + port: 15300 | |
| 3 | + | |
| 4 | +spring: | |
| 5 | + profiles: | |
| 6 | + active: development | |
| 7 | + | |
| 8 | +endpoints: | |
| 9 | + restart: | |
| 10 | + enabled: true | |
| 11 | + shutdown: | |
| 12 | + enabled: true | |
| 13 | + health: | |
| 14 | + sensitive: false | |
| 15 | + | |
| 16 | +eureka: | |
| 17 | + instance: | |
| 18 | + hostname: gateway | |
| 19 | + client: | |
| 20 | + registerWithEureka: true | |
| 21 | + fetchRegistry: true | |
| 22 | + serviceUrl: | |
| 23 | + defaultZone: http://discovery:15200/eureka/ | |
| 0 | 24 | \ No newline at end of file | ... | ... |
gateway-dev.yml renamed to user-service.yml