forked from Raysmond/SpringBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yml
More file actions
40 lines (34 loc) · 898 Bytes
/
application.yml
File metadata and controls
40 lines (34 loc) · 898 Bytes
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
server:
port: 8080
spring:
jpa:
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
database: MYSQL
show-sql: true
generate-ddl: true
hibernate:
ddl-auto: update
dialect: org.hibernate.dialect.MySQL5Dialect
properties:
hibernate:
generate_statistics: true
cache:
use_second_level_cache: true
use_query_cache: true
region:
factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
thymeleaf:
mode: LEGACYHTML5
cache:
ehcache:
config: classpath:ehcache.xml
logging:
level:
org.springframework.web: ERROR
com.raysmond.blog: DEBUG
# Redisson configuration file
redisson-config: conf/redisson.yaml
management:
security:
enabled: true
roles: ROLE_ADMIN