28 lines
978 B
Properties
28 lines
978 B
Properties
spring.application.name=FotoSharing
|
|
spring.jmx.enabled=false
|
|
management.endpoints.jmx.exposure.exclude=*
|
|
|
|
|
|
# ===============================
|
|
# DATABASE
|
|
# ===============================
|
|
spring.datasource.url=jdbc:mariadb://192.168.112.10:3306/fotoshareDB
|
|
spring.datasource.username=ufoto
|
|
spring.datasource.password=4AinfoRep-25
|
|
# ===============================
|
|
# JPA / HIBERNATE
|
|
# ===============================
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect
|
|
spring.jpa.show-sql=true
|
|
spring.jpa.properties.hibernate.format_sql=true
|
|
spring.thymeleaf.prefix=classpath:/templates/
|
|
spring.thymeleaf.suffix=.html
|
|
spring.thymeleaf.mode=HTML
|
|
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
|
|
# ===============================
|
|
# EMPLACEMENT DE STICKAGE
|
|
# ===============================
|
|
file.upload-dir=/opt/photo-app/uploads
|
|
spring.servlet.multipart.max-file-size=20MB
|
|
spring.servlet.multipart.max-request-size=20MB |