forked from autumnwind10/event-config-properties-cf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory-service.yml
46 lines (46 loc) · 1.08 KB
/
inventory-service.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
spring.profiles.active: development
---
spring:
profiles: cloud
neo4j:
#host: ${SPRING_NEO4J_HOST:hobby-aeepccdbbpcagbkeoegkneal.dbs.graphenedb.com}
#port: ${SPRING_NEO4J_PORT:24780}
host: hobby-aeepccdbbpcagbkeoegkneal.dbs.graphenedb.com
port: 24780
eureka:
instance:
prefer-ip-address: true
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: ${vcap.services.discovery-service.credentials.uri:http://discovery-service-sleepy-gerenuk.apps.apbg.apcf.io}/eureka/
---
spring:
profiles: development
neo4j:
host: ${SPRING_NEO4J_HOST:127.0.0.1}
port: ${SPRING_NEO4J_PORT:7474}
---
spring:
profiles: docker
neo4j:
host: ${SPRING_NEO4J_HOST:neo4j}
port: ${SPRING_NEO4J_PORT:7474}
eureka:
instance:
prefer-ip-address: true
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://discovery-service:8761/eureka/
---
spring:
profiles: test
neo4j:
host: ${SPRING_NEO4J_HOST:127.0.0.1}
port: ${SPRING_NEO4J_PORT:7474}
eureka:
client:
enabled: false