-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
48 lines (40 loc) · 1.38 KB
/
application.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
38
39
40
41
42
43
44
45
46
47
app:
dataSource:
host: localhost
username: obektron
password: 7840
databaseName: obektron
jdbc-url: jdbc:postgresql://${app.datasource.postgresql.host}:${app.datasource.postgresql.port}/${app.datasource.postgresql.databaseName}
spring:
resources:
add-mappings: true
application.name: obektron
thymeleaf.cache: false
server:
port: 8080
servlet:
contextPath: /obektron
# Postgres connection settings
spring.datasource.url: jdbc:postgresql://localhost:5432/obektron
spring.datasource.username: obektron
spring.datasource.password: 7840
spring.datasource.driver-class-name: org.postgresql.Driver
# HikariCP settings
spring.datasource.hikari.minimumIdle: 5
spring.datasource.hikari.maximumPoolSize: 10
spring.datasource.hikari.idleTimeout: 30000
spring.datasource.hikari.maxLifetime: 2000000
spring.datasource.hikari.connectionTimeout: 30000
spring.datasource.hikari.poolName: ObektronHikariPool
# Tomcat settings
spring.datasource.tomcat.maxActive: 15
spring.datasource.tomcat.minIdle: 5
# JPA settings
spring.jpa.database-platform: org.hibernate.dialect.PostgreSQL82Dialect
spring.jpa.hibernate.use-new-id-generator-mappings: false
spring.jpa.show-sql: true
spring.jpa.hibernate.ddl-auto: update
#Logging
logging.level.org.hibernate.SQL: DEBUG
logging.level.com.zaxxer.hikari.HikariConfig: DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder: TRACE