spring-boot-axon-demo/src/main/resources/application-dev.yml.sample

43 lines
990 B
Plaintext
Raw Normal View History

server:
port: 8182
spring:
2020-08-21 11:59:08 +07:00
application:
name: axon-demo
datasource:
driverClassName: org.postgresql.Driver
2020-08-21 13:00:51 +07:00
url: jdbc:postgresql://${POSTGRES_HOST:localhost}:${POSTGRES_PORT:5432}/${POSTGRES_DB:axon_demo}
username: ${POSTGRES_USERNAME:root}
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
axon:
serializer:
2020-08-21 11:59:08 +07:00
general: jackson
axonserver:
2020-08-21 13:00:51 +07:00
servers: localhost
2020-08-21 11:59:08 +07:00
logging:
level.root: debug