- LEGAL_IMPRINT_/LEGAL_PRIVACY_ URL and Markdown (inline or *_FILE);
only http(s) URLs accepted
- /auth/status exposes legal info; public GET /legal/{imprint|privacy}
- Links on login/setup screen and in the settings footer: URL opens a new
tab, Markdown a reading modal; hidden when nothing is configured
- "Über MindSift" modal (version, license, repository) in settings and help
- Docs and compose/env examples
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
services:
|
|
mindsift:
|
|
image: git.dsit.me/sandrodach/mindsift:dev
|
|
container_name: mindsift
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PORT:-8080}:8080"
|
|
volumes:
|
|
- ./data:/data
|
|
environment:
|
|
- PORT=8080
|
|
- DATA_DIR=/data
|
|
- JWT_SECRET=${JWT_SECRET:-change_this_to_a_secure_random_key_min_32_chars}
|
|
- BASE_URL=${BASE_URL:-http://localhost:8080}
|
|
- ALLOW_REGISTRATION=${ALLOW_REGISTRATION:-false}
|
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
|
# Set LOG_LEVEL=debug or DEBUG=true for detailed request and sync logging
|
|
# - LOG_LEVEL=debug
|
|
# - DEBUG=true
|
|
# Demo mode: if true, automatically seeds demo accounts admin/admin and user/user
|
|
- MINDA_DEMO=${MINDA_DEMO:-false}
|
|
# Optional SMTP / Mail Configuration (can also be configured in Admin UI)
|
|
- SMTP_HOST=${SMTP_HOST:-}
|
|
- SMTP_PORT=${SMTP_PORT:-587}
|
|
- SMTP_USER=${SMTP_USER:-}
|
|
- SMTP_PASS=${SMTP_PASS:-}
|
|
- SMTP_FROM=${SMTP_FROM:-}
|
|
- SMTP_TLS=${SMTP_TLS:-true}
|
|
- SMTP_SKIP_VERIFY=${SMTP_SKIP_VERIFY:-false}
|
|
# Optional: Impressum / Datenschutz (URL oder Markdown-Datei, z. B. per Volume eingebunden)
|
|
- LEGAL_IMPRINT_URL=${LEGAL_IMPRINT_URL:-}
|
|
- LEGAL_PRIVACY_URL=${LEGAL_PRIVACY_URL:-}
|
|
- LEGAL_IMPRINT_CONTENT_FILE=${LEGAL_IMPRINT_CONTENT_FILE:-}
|
|
- LEGAL_PRIVACY_CONTENT_FILE=${LEGAL_PRIVACY_CONTENT_FILE:-}
|