feat: added application.properties, changed .gitignore
This commit is contained in:
parent
1720025b21
commit
07ada54bc8
2 changed files with 16 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,7 +5,6 @@
|
|||
.project
|
||||
.classpath
|
||||
.env
|
||||
application.properties
|
||||
|
||||
*.iml
|
||||
.DS_Store
|
||||
|
|
16
src/main/resources/application.properties
Normal file
16
src/main/resources/application.properties
Normal file
|
@ -0,0 +1,16 @@
|
|||
server.port=${PORT:8080}
|
||||
logging.level.org.atmosphere = warn
|
||||
spring.mustache.check-template-location = false
|
||||
|
||||
# Launch the default browser when starting the application in development mode
|
||||
#vaadin.launch-browser=true
|
||||
# PostgreSQL configuration.
|
||||
spring.datasource.url = ${DB_ADDRESS}/${DB_NAME}
|
||||
spring.datasource.username = ${DB_USER}
|
||||
spring.datasource.password = ${DB_PASSWORD}
|
||||
spring.jpa.hibernate.ddl-auto = update
|
||||
# To improve the performance during development.
|
||||
# For more information https://vaadin.com/docs/latest/integrations/spring/configuration#special-configuration-parameters
|
||||
vaadin.allowed-packages = com.vaadin,org.vaadin,dev.hilla,com.application.munera
|
||||
spring.jpa.defer-datasource-initialization = true
|
||||
spring.sql.init.mode = always
|
Loading…
Reference in a new issue