Sicherheit: DB-Passwort rotieren und aus Secret laden
mindflux-ci / build (push) Successful in 28s

This commit is contained in:
AliceDarkest
2026-07-12 21:43:02 +02:00
parent 762812649c
commit 4f5042dc43
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -5,10 +5,10 @@ services:
restart: unless-stopped
environment:
# --- Datenbank: unverändert wie im bisherigen Deploy ---
# --- Datenbank: Passwort kommt aus Gitea-Secret (siehe Workflow), nie ins Repo ---
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/mindfluxdb
SPRING_DATASOURCE_USERNAME: mindflux
SPRING_DATASOURCE_PASSWORD: mindflux_pass
SPRING_DATASOURCE_PASSWORD: "${MINDFLUX_DB_PASSWORD:?MINDFLUX_DB_PASSWORD muss als Secret gesetzt sein}"
# --- App: lauscht intern auf 8080 (nginx -> mindflux:8080) ---
SERVER_PORT: "8080"