Skip to content

Instantly share code, notes, and snippets.

@pavankjadda
Created February 17, 2020 05:50
Show Gist options
  • Save pavankjadda/10590be4cf1619186e71b9da6684ad3e to your computer and use it in GitHub Desktop.
Save pavankjadda/10590be4cf1619186e71b9da6684ad3e to your computer and use it in GitHub Desktop.
application.yml
### 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