16 lines
488 B
YAML
16 lines
488 B
YAML
services:
|
||
crm:
|
||
build: .
|
||
image: sds-crm:latest
|
||
restart: unless-stopped
|
||
ports:
|
||
- "8888:8888" # Hauptserver
|
||
environment:
|
||
# Persistente SQLite-Datei und Uploads auf dem Host (Volume unten)
|
||
NODE_ENV: production
|
||
SESSION_SECRET: ${SESSION_SECRET:-}
|
||
volumes:
|
||
# Datenbank: Verzeichnis mounten (nicht einzelne Datei – sonst erzeugt Docker ein Verzeichnis)
|
||
- ./data:/app/data
|
||
- ./uploads:/app/server/data/uploads
|