1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- # 服务端口号
- server:
- port: 11000
- servlet:
- context-path: /
- spring:
- application:
- name: framework
- profiles:
- active: dev
- include: orm,cache,msg
- cloud:
- config:
- profile: ${spring.profiles.active}
- discovery:
- enabled: true
- service-id: config
- allow-override: true
- username: envir
- password: envir
- security:
- scan: true
- ---
- spring:
- profiles: dev
- eureka:
- instance:
- prefer-ip-address: true
- client:
- service-url:
- defaultZone: http://envir:envir@192.168.1.202:11111/eureka/
- ---
- spring:
- profiles: prod
- eureka:
- client:
- service-url:
- defaultZone: http://envir:envir@120.77.170.119:11001/eureka/
- instance:
- prefer-ip-address: true
|