feat: added application.properties, changed .gitignore

This commit is contained in:
filippo-ferrari 2024-09-06 21:55:14 +02:00
parent 1720025b21
commit 07ada54bc8
2 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View file

@ -5,7 +5,6 @@
.project .project
.classpath .classpath
.env .env
application.properties
*.iml *.iml
.DS_Store .DS_Store

View 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