Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !--configuração do thymeleaf
- spring.thymeleaf.mode=HTML
- !--configuração do banco de dados local
- #spring.jpa.database=MYSQL
- #spring.datasource.url=jdbc:mysql://localhost/designer?useSSL=false
- #spring.datasource.username=root
- #spring.datasource.password=root
- #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
- !--configuração do banco de dados Heruko
- spring.datasource.url=${JDBC_DATABASE_URL}
- spring.datasource.username=${JDBC_DATABASE_USERNAME}
- spring.datasource.password=${JDBC_DATABASE_PASSWORD}
- !--configuração do banco de dados local e Heroku
- spring.datasource.tomcat.validation-query= Select 1
- spring.jpa.show-sql=true
- spring.jpa.generate-ddl=true
- spring.jpa.hibernate.ddl-auto=update
- !--upload imagem
- spring.http.multipart.max-file-size=1MB
- spring.http.multipart.max-request-size=2MB
- spring.http.multipart.enabled=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement