67 lines
2.1 KiB
Properties
67 lines
2.1 KiB
Properties
# =======================
|
|
# Datenbankverbindung (PostgreSQL)
|
|
# =======================
|
|
|
|
spring.config.import=optional:file:.env[.properties]
|
|
spring.datasource.url=${MINDFLUX_DB_URL:jdbc:postgresql://localhost:5433/mindflux_db}
|
|
spring.datasource.username=${MINDFLUX_DB_USER:mindflux_user}
|
|
spring.datasource.password=${MINDFLUX_DB_PASSWORD}
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
|
# =======================
|
|
# Hibernate / JPA
|
|
# =======================
|
|
|
|
spring.jpa.hibernate.ddl-auto=validate
|
|
spring.jpa.show-sql=false
|
|
spring.jpa.open-in-view=false
|
|
|
|
# =======================
|
|
# Datenbank-Migrationen
|
|
# =======================
|
|
|
|
spring.flyway.enabled=true
|
|
|
|
# =======================
|
|
# SQL-Initialisierung
|
|
# =======================
|
|
|
|
spring.sql.init.mode=never
|
|
|
|
# =======================
|
|
# Server
|
|
# =======================
|
|
|
|
server.port=8282
|
|
server.forward-headers-strategy=framework
|
|
server.servlet.session.cookie.secure=${MINDFLUX_COOKIE_SECURE:false}
|
|
server.servlet.session.cookie.http-only=true
|
|
server.servlet.session.cookie.same-site=lax
|
|
spring.output.ansi.enabled=ALWAYS
|
|
|
|
# Öffentliche Basis-URL, z. B. für künftig erzeugte absolute Links.
|
|
mindflux.public-url=${MINDFLUX_PUBLIC_URL:http://localhost:8282}
|
|
mindflux.mail.from=${MAIL_USERNAME:noreply@sysnaptik.de}
|
|
|
|
# =======================
|
|
# E-Mail-Versand
|
|
# =======================
|
|
spring.mail.host=${MAIL_HOST:localhost}
|
|
spring.mail.port=${MAIL_PORT:587}
|
|
spring.mail.username=${MAIL_USERNAME:}
|
|
spring.mail.password=${MAIL_PASSWORD:}
|
|
spring.mail.properties.mail.smtp.auth=true
|
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
|
spring.mail.properties.mail.smtp.starttls.required=true
|
|
spring.mail.properties.mail.smtp.connectiontimeout=5000
|
|
spring.mail.properties.mail.smtp.timeout=5000
|
|
spring.mail.properties.mail.smtp.writetimeout=5000
|
|
|
|
# =======================
|
|
# Datei-Uploads (Profilbilder)
|
|
# =======================
|
|
# Hinweis: Der nginx-Reverse-Proxy muss client_max_body_size passend gesetzt haben,
|
|
# sonst greift schon dort ein 413, bevor die App den Upload sieht.
|
|
spring.servlet.multipart.max-file-size=10MB
|
|
spring.servlet.multipart.max-request-size=10MB
|