29 lines
698 B
YAML
29 lines
698 B
YAML
spring:
|
|
application:
|
|
name: billing-service
|
|
datasource:
|
|
url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/pg-meldestelle-db}
|
|
username: ${SPRING_DATASOURCE_USERNAME:pg-user}
|
|
password: ${SPRING_DATASOURCE_PASSWORD:pg-password}
|
|
cloud:
|
|
consul:
|
|
host: ${CONSUL_HOST:localhost}
|
|
port: ${CONSUL_PORT:8500}
|
|
discovery:
|
|
enabled: true
|
|
register: true
|
|
health-check-path: /actuator/health
|
|
health-check-interval: 10s
|
|
|
|
server:
|
|
port: ${SERVER_PORT:${BILLING_SERVICE_PORT:8087}}
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health,info,metrics,prometheus
|
|
endpoint:
|
|
health:
|
|
show-details: always
|