lab-3 some configuration
This commit is contained in:
parent
63d63d3b39
commit
addf626c2e
@ -0,0 +1,8 @@
|
||||
# Dev H2 JPA Settings
|
||||
spring.datasource.url=jdbc:h2:file:./data
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=password
|
||||
spring.datasource.driver-class-name=org.h2.Driver
|
||||
|
||||
# H2 console
|
||||
spring.h2.console.enabled=true
|
@ -0,0 +1,9 @@
|
||||
# Logger settings
|
||||
# Available levels are: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
|
||||
logging.level.com.example.demo=INFO
|
||||
|
||||
# Prod PostgreSQL JPA Settings
|
||||
spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/demo-app
|
||||
spring.datasource.username=postgres
|
||||
spring.datasource.password=postgres
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
@ -1 +1,21 @@
|
||||
# Server
|
||||
spring.main.banner-mode=off
|
||||
server.port=8080
|
||||
|
||||
# Logger settings
|
||||
# Available levels are: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
|
||||
logging.level.com.example.demo=DEBUG
|
||||
|
||||
# Set default orofile
|
||||
spring.profiles.default=dev
|
||||
|
||||
# Common JPA Settings
|
||||
spring.jpa.hibernate.ddl-auto=validate
|
||||
spring.jpa.open-in-view=false
|
||||
# spring.jpa.show-sql=true
|
||||
# spring.jpa.properties.hibernate.format_sql=true
|
||||
|
||||
# Liquibase Settings
|
||||
spring.liquibase.enabled=true
|
||||
spring.liquibase.drop-first=false
|
||||
spring.liquibase.change-log=classpath:db/changelog.xml
|
Loading…
Reference in New Issue
Block a user