-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapplication-version-service.yaml
More file actions
67 lines (62 loc) · 1.36 KB
/
Copy pathapplication-version-service.yaml
File metadata and controls
67 lines (62 loc) · 1.36 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
spring:
application:
name: version
datasource:
url: jdbc:postgresql://localhost:5432/versiondb
driver-class-name: org.postgresql.Driver
username: postgres
password: postgres
jpa:
properties:
jakarta.persistence.sharedCache.mode: UNSPECIFIED
generate-ddl: true
hibernate:
ddl-auto: create
show-sql: false
open-in-view: false
server:
port: 8081
grpc:
server:
port: 9091
---
spring:
config:
activate:
on-profile: stream
rabbitmq:
host: ${SPRING_RABBITMQ_HOST:localhost}
port: 5672
username: guest
password: guest
cloud:
function:
definition: versionServiceCommandChannel
stream:
bindings:
versionServiceCommandChannel-in-0:
destination: version-command-channel
group: version-service
command-responses-out-0:
destination: command-responses
---
spring:
config:
activate:
on-profile: "!kubernetes"
cloud:
discovery:
enabled: true
eureka:
client:
enabled: true
service-url:
defaultZone: http://${EUREKA_HOST:localhost}:8761/eureka/
register-with-eureka: true
fetch-registry: true
registry-fetch-interval-seconds: 5
instance:
prefer-ip-address: true
instance-id: ${spring.application.name}:${random.uuid}
metadata-map:
grpcPort: ${grpc.server.port}