Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
46 lines (41 loc) · 2.22 KB
/
Copy path.env.example
File metadata and controls
46 lines (41 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ISMS Builder – Beispielkonfiguration
# Kopiere diese Datei als .env und passe die Werte an:
# cp .env.example .env
# ── Pflichtfeld ───────────────────────────────────────────────────────────────
# Mindestens 32 zufällige Zeichen: openssl rand -hex 32
JWT_SECRET=CHANGE_ME_USE_OPENSSL_RAND_HEX_32
# ── Server ────────────────────────────────────────────────────────────────────
JWT_EXPIRES_IN=8h
PORT=3000
DEV_HEADER_AUTH=false # Nie auf true in Produktion!
# ── Storage-Backend ───────────────────────────────────────────────────────────
STORAGE_BACKEND=sqlite # sqlite (empfohlen) | json (nur Entwicklung/Tests)
# ── SSL/HTTPS (optional) ──────────────────────────────────────────────────────
# SSL_CERT_FILE=ssl/cert.pem
# SSL_KEY_FILE=ssl/key.pem
# ── E-Mail / SMTP (optional) ──────────────────────────────────────────────────
# Ohne SMTP_HOST sind alle E-Mail-Benachrichtigungen deaktiviert.
# Benachrichtigungen selbst werden in Admin → Organisation → E-Mail konfiguriert.
#
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_SECURE=false # true für Port 465 (TLS), false für STARTTLS
# SMTP_USER=isms@example.com
# SMTP_PASS=your-smtp-password
# SMTP_FROM=ISMS Builder <isms@example.com>
#
# Beispiel für Gmail (App-Passwort erforderlich):
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_SECURE=false
# SMTP_USER=your@gmail.com
# SMTP_PASS=abcd-efgh-ijkl-mnop
# SMTP_FROM=ISMS Builder <your@gmail.com>
#
# Beispiel für Office 365:
# SMTP_HOST=smtp.office365.com
# SMTP_PORT=587
# SMTP_SECURE=false
# SMTP_USER=isms@yourcompany.com
# SMTP_PASS=your-password
# SMTP_FROM=ISMS Builder <isms@yourcompany.com>