Skip to content

Instantly share code, notes, and snippets.

@memory-lovers
Created June 12, 2017 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save memory-lovers/db31a6f7ffc3ec47eba5382aeccd0db6 to your computer and use it in GitHub Desktop.
Save memory-lovers/db31a6f7ffc3ec47eba5382aeccd0db6 to your computer and use it in GitHub Desktop.
# ===================================================================
# APPLICATION PROPERTIES
# ===================================================================
# ----------------------------------------
# DATA PROPERTIES
# ----------------------------------------
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.driverClassName=org.postgresql.Driver
spring.datasource.url=jdbc:postgres://<hostname>:5432/<dbname>
spring.datasource.username=<username>
spring.datasource.password=<password>
# JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment