-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcartera.yml
37 lines (34 loc) · 1.04 KB
/
cartera.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
# Last update May 2023 (rlh)
eureka:
instance:
preferIpAddress: true
instanceId: ${spring.application.name}:${random.int}
hostname: cartera
client:
enabled: false # Not used, just for Docker desktop with service discovery and load balanced
registerWithEureka: true
fetchRegistry: false # this must be false because it is a service
spring:
# SQL Server database
datasource:
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
hikari:
maxLifeTime: 600000
connectionTimeout: 30000
# Spring data
jpa:
database: default
hibernate:
ddl-auto: update
dialect: org.hibernate.dialect.SQLServer2012Dialect
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
generate-ddl: true
show-sql: true
cloud:
loadbalancer:
ribbon:
enabled: false
# Testing what environment we are using
cartera:
greeting: "Welcome to cartera microservice from the config server, 'default configuration'."