This commit is contained in:
2026-05-28 20:54:36 +02:00
parent 946946622e
commit 08f28dd727
56 changed files with 102 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
spring.application.name=ListHubBackend
spring.datasource.url=${DB_URL:jdbc:postgresql://db:5432/postgres}
spring.datasource.username=${DB_USER:postgres}
spring.datasource.password=${DB_PASS:postgres}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.sql.init.data-locations=classpath:sql/data.sql
spring.sql.init.mode=always
spring.jpa.defer-datasource-initialization=true
spring.jpa.hibernate.ddl-auto=create-drop
file.upload-dir=${IMAGES_UPLOAD_DIR:/app/images}
spring.servlet.multipart.max-file-size=${MAX_FILE_SIZE:10MB}
spring.servlet.multipart.max-request-size=${MAX_REQUEST_SIZE:10MB}
jwt.secret=${JWT_SECRET}
jwt.expiration=1200000
logging.file.name=logs/app.log