spring-boot-axon-demo/src/main/resources/application-dev.yml
2020-08-21 10:55:40 +07:00

32 lines
854 B
YAML

server:
port: 8182
spring:
datasource:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRES_HOST:192.168.0.202}:${POSTGRES_PORT:5432}/${POSTGRES_DB:axon_demo}
username: ${POSTGRES_USERNAME:cubetiq}
password: ${POSTGRES_PASSWORD:Root$}
hikari:
max-lifetime: 1800000
connection-timeout: 30000
idle-timeout: 600000
maximum-pool-size: 30
allow-pool-suspension: true
tomcat:
max_active: 10
max_idle: 5
min-idle: 2
initial_size: 5
remove_abandoned: true
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
temp:
use_jdbc_metadata_defaults: false
open-in-view: true