Skip to content

Instantly share code, notes, and snippets.

@ankushs92
Created July 26, 2016 14:52
Show Gist options
  • Save ankushs92/b3babed46b45f15b19c12d8875fea3a2 to your computer and use it in GitHub Desktop.
Save ankushs92/b3babed46b45f15b19c12d8875fea3a2 to your computer and use it in GitHub Desktop.
application.properties
################## Profiles ################
spring.profiles.active=dev
################### Logging ################
logging.level.org.springframework.web=debug
################### Security ################
security.basic.enabled=false
################### DataSource ################
spring.datasource.url =jdbc:mysql://host/db
spring.datasource.username=username
spring.datasource.password=password
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery=SELECT 1
#spring.jpa.show-sql =true
#spring.jpa.hibernate.ddl-auto =update
spring.jpa.hibernate.naming-strategy =org.hibernate.cfg.DefaultNamingStrategy
spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.MySQL5Dialect
################### Server ################
server.compression.enabled=true
server.compression.mime-types=application/json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment