mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Config changes
This commit is contained in:
parent
ca9c7a7c50
commit
2c8f2657d3
1 changed files with 4 additions and 1 deletions
|
@ -1,10 +1,13 @@
|
||||||
# database init, supports mysql too
|
# database init, supports mysql too
|
||||||
database=hsqldb
|
database=mysql
|
||||||
spring.datasource.schema=classpath*:db/${database}/schema.sql
|
spring.datasource.schema=classpath*:db/${database}/schema.sql
|
||||||
spring.datasource.data=classpath*:db/${database}/data.sql
|
spring.datasource.data=classpath*:db/${database}/data.sql
|
||||||
|
spring.profiles.active=mysql
|
||||||
|
|
||||||
# Web
|
# Web
|
||||||
spring.thymeleaf.mode=HTML
|
spring.thymeleaf.mode=HTML
|
||||||
|
server.port=8081
|
||||||
|
|
||||||
|
|
||||||
# JPA
|
# JPA
|
||||||
spring.jpa.hibernate.ddl-auto=none
|
spring.jpa.hibernate.ddl-auto=none
|
||||||
|
|
Loading…
Reference in a new issue