FEAT : Mise en place de l'architecture + instription d'un utilisateur

This commit is contained in:
2025-12-01 12:14:57 +01:00
parent c76592aa65
commit 6f9bbe47ab
41 changed files with 672 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ spring.application.name=FotoSharing
# ===============================
# DATABASE
# ===============================
spring.datasource.url=jdbc:mariadb://192.168.124.171:3306/fotoshareDB
spring.datasource.url=jdbc:mariadb://192.168.112.10:3306/fotoshareDB
spring.datasource.username=ufoto
spring.datasource.password=4AinfoRep-25
# ===============================
@@ -12,6 +12,14 @@ spring.datasource.password=4AinfoRep-25
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