diff --git a/.gitignore b/.gitignore index 37b50eb..739b6cf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ .project .classpath .env -application.properties *.iml .DS_Store diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..fd13d90 --- /dev/null +++ b/src/main/resources/application.properties @@ -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