This commit is contained in:
Marcin Woźniak 2020-12-04 17:15:08 +01:00
parent c70cac58b2
commit 2dd1f70eee
Signed by: y0rune
GPG Key ID: F204C385F57EB348
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
spring.datasource.url=jdbc:mysql://localhost:3306/test?useUnicode=yes&characterEncoding=UTF-8
spring.datasource.username=root
spring.datasource.password=example
spring.datasource.url = jdbc:mysql://${PLANNAPLAN_MYSQL_DB_HOST}:${PLANNAPLAN_MYSQL_DB_PORT}/${PLANNAPLAN_MYSQL_DB}?useUnicode=yes&characterEncoding=UTF-8
spring.datasource.username = ${PLANNAPLAN_MYSQL_DB_USERNAME}
spring.datasource.password = ${PLANNAPLAN_MYSQL_DB_PASSWORD}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.open-in-view=true
spring.jpa.hibernate.ddl-auto=create-drop

View File

@ -1 +1 @@
spring.profiles.active=dev
spring.profiles.active=prod