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

43 lines
990 B
Plaintext

server:
port: 8182
spring:
application:
name: axon-demo
datasource:
driverClassName: org.postgresql.Driver
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:
general: jackson
axonserver:
servers: localhost
logging:
level.root: debug