Created
February 17, 2020 05:50
-
-
Save pavankjadda/10590be4cf1619186e71b9da6684ad3e to your computer and use it in GitHub Desktop.
application.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Server information | |
server: | |
port: 8080 | |
### Spring Properties | |
spring: | |
application: | |
name: PRES 2.0 | |
cache: | |
type: redis | |
jackson: | |
serialization: | |
FAIL_ON_EMPTY_BEANS: false | |
### Spring datasource Properties | |
datasource: | |
url: jdbc:h2:mem:testdb | |
username: sa | |
password: password | |
driver-class-name: org.h2.Driver | |
initialization-mode: always | |
jpa: | |
generate-ddl: true | |
properties: | |
hibernate: | |
jdbc: | |
time_zone: UTC | |
ddl-auto: create-drop | |
show_sql: true | |
cache: | |
use_query_cache: true | |
use_second_level_cache: true | |
factory_class: org.redisson.hibernate.RedissonRegionFactory | |
redisson: | |
fallback: true | |
config: redission/redisson-dev.yaml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment