51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
spring:
|
|
application:
|
|
name: events-service
|
|
main:
|
|
banner-mode: "off"
|
|
datasource:
|
|
url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/pg-meldestelle-db}
|
|
username: ${SPRING_DATASOURCE_USERNAME:pg-user}
|
|
password: ${SPRING_DATASOURCE_PASSWORD:pg-password}
|
|
driver-class-name: org.postgresql.Driver
|
|
flyway:
|
|
enabled: true
|
|
baseline-on-migrate: true
|
|
cloud:
|
|
consul:
|
|
host: ${SPRING_CLOUD_CONSUL_HOST:localhost}
|
|
port: ${SPRING_CLOUD_CONSUL_PORT:8500}
|
|
enabled: ${CONSUL_ENABLED:true}
|
|
discovery:
|
|
enabled: ${CONSUL_ENABLED:true}
|
|
register: ${CONSUL_ENABLED:true}
|
|
prefer-ip-address: true
|
|
health-check-path: /actuator/health
|
|
health-check-interval: 10s
|
|
health-check-port: 8085
|
|
instance-id: ${spring.application.name}:${server.port}:${random.uuid}
|
|
service-name: ${spring.application.name}
|
|
|
|
server:
|
|
port: 8085
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: "health,info,metrics,prometheus"
|
|
endpoint:
|
|
health:
|
|
show-details: always
|
|
probes:
|
|
enabled: true
|
|
prometheus:
|
|
metrics:
|
|
export:
|
|
enabled: true
|
|
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
at.mocode.events: DEBUG
|