28 lines
1.0 KiB
Properties
28 lines
1.0 KiB
Properties
spring.application.name=Familienarchiv
|
|
# --- Datenbank Konfiguration ---
|
|
spring.datasource.url=${SPRING_DATASOURCE_URL}
|
|
spring.datasource.username=${SPRING_DATASOURCE_USERNAME}
|
|
spring.datasource.password=${SPRING_DATASOURCE_PASSWORD}
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
|
# JPA / Hibernate
|
|
spring.jpa.hibernate.ddl-auto=create
|
|
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
spring.jpa.show-sql=false
|
|
# --- MinIO (S3) Konfiguration ---
|
|
# Eigene Properties (werden wir in einer Config-Klasse auslesen)
|
|
app.s3.endpoint=${S3_ENDPOINT}
|
|
app.s3.access-key=${S3_ACCESS_KEY}
|
|
app.s3.secret-key=${S3_SECRET_KEY}
|
|
app.s3.bucket=${S3_BUCKET_NAME}
|
|
app.s3.region=${S3_REGION}
|
|
|
|
# Upload Limits erhöhen (für große Scans)
|
|
spring.servlet.multipart.max-file-size=50MB
|
|
spring.servlet.multipart.max-request-size=50MB
|
|
# --- Excel Import Mapping ---
|
|
# Spaltenindex (0 = Spalte A, 1 = Spalte B, usw.)
|
|
app.import.excel.col.filename=0
|
|
app.import.excel.col.date=1
|
|
app.import.excel.col.location=2
|
|
app.import.excel.col.transcription=3 |