Volle Mindflux-App ins Deploy-Repo übernehmen
Ersetzt das Hello-World-Gerüst durch die vollständige Anwendung (com.example.mindflux: 64 Klassen, Thymeleaf-Templates, Static-Assets, Flyway V1–V6). Deploy-Infrastruktur (.gitea, Dockerfile) bleibt erhalten. - pom: volle Abhängigkeiten (Security, Thymeleaf, JPA, Flyway), Spring Boot 3.4.4 / Java 17 - docker-compose: SPRING_DATASOURCE_* unverändert; App lauscht auf 8080 (nginx -> mindflux:8080); Uploads-Volume; Admin-Passwörter via Gitea-Secrets - Workflow: Deploy-Step injiziert MINDFLUX_ADMIN*_PASSWORD aus Secrets - .dockerignore ergänzt; Hello-World (com.mindflux) und Test-Datei 'main' entfernt Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,43 @@
|
||||
server.port=8080
|
||||
# =======================
|
||||
# Datenbankverbindung (PostgreSQL)
|
||||
# =======================
|
||||
|
||||
spring.datasource.url=jdbc:postgresql://postgres:5432/mindfluxdb
|
||||
spring.datasource.username=mindflux
|
||||
spring.datasource.password=mindflux_pass
|
||||
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=true
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user