-
Notifications
You must be signed in to change notification settings - Fork 0
/
user-service-docker.properties
29 lines (22 loc) · 971 Bytes
/
user-service-docker.properties
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
server.port=${PORT:8100}
spring.main.allow-bean-definition-overriding=true
logging.config=classpath:log4j2-docker.xml
message = Hello World: Users!
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=false
spring.jpa.database=POSTGRESQL
spring.datasource.platform=postgres
spring.datasource.url=jdbc:postgresql://postgres:5432/userservice
spring.datasource.username=userservice
spring.datasource.password=password
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=validate
spring.liquibase.enabled=true
eureka.client.serviceUrl.defaultZone=http://eureka-service:8761/eureka
## Monitoring:
management.metrics.export.influx.db=userservicedb
management.metrics.export.influx.userName=admin
management.metrics.export.influx.password=secret
management.metrics.export.influx.uri=http://influxdb:8086
management.metrics.export.influx.step=10s
management.metrics.export.influx.autoCreateDb=false