-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment-dev.yml
50 lines (50 loc) · 1.12 KB
/
payment-dev.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
47
48
49
50
eureka:
client:
fetchRegistry: true
registerWithEureka: true
serviceUrl:
defaultZone: http://discoveryServer:9001/eureka
instance:
instance-id: ${spring.application.name}:${instanceId:${random.value}}
prefer-ip-address: true
server:
port: 0
spring:
application:
name: payment
datasource:
password: 12345
url: jdbc:postgresql://rentacarpaymentdb:5438/rentacarpaymentdb
username: postgres
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
javax:
persistence:
validation:
mode: none
show-sql: true
kafka:
producer:
bootstrap-servers: localhost:9092
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
topic:
name: rental_topics3
management:
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
web:
exposure:
include: '*'
metrics:
export:
prometheus:
enabled: true