Installation (Plesk / Docker)Installation (Plesk / Docker)
Postwerk is a single Docker container (Node.js, SQLite). Requirements: a Linux server with Docker, 1 GB RAM, a (sub)domain with HTTPS.
Plesk
- Download the ZIP in your Weblogy account (Shop → Licenses) and unpack it on the server, e.g. to
/opt/postwerk. - Plesk → Add Subdomain (e.g.
mail.yourcompany.de) and enable Let's Encrypt. - Configuration:
cd /opt/postwerk/deploy && cp .env.example .env, setPUBLIC_URLandMASTER_KEY(openssl rand -base64 32). Optional:SETUP_TOKENprotects the first-run page. - Start:
docker compose -p postwerk up -d --build– Postwerk listens on127.0.0.1:8030. - Plesk → subdomain → Apache & nginx Settings → additional directives for HTTP and HTTPS:
ProxyPass /.well-known/acme-challenge ! ProxyPass / http://127.0.0.1:8030/ retry=0 flushpackets=on timeout=3600 ProxyPassReverse / http://127.0.0.1:8030/
- Open the address – the first visit creates the administrator account.
- Settings → Licence: enter your key (add user packs as additional keys).
Other Docker hosts
Use deploy/docker-compose.yml behind any reverse proxy with HTTPS (nginx, Caddy, Traefik). Turn off response buffering for /api/v1/stream (live updates) and allow uploads of 30 MB.
Backup & updates
- Back up
deploy/data/(database) together withdeploy/.env– the master key decrypts the stored mailbox passwords. - Update: download the new ZIP, replace the files (keep
deploy/.envanddeploy/data), rundocker compose -p postwerk up -d --build. Database updates run automatically.
Postwerk ist ein einzelner Docker-Container (Node.js, SQLite). Voraussetzungen: Linux-Server mit Docker, 1 GB RAM, eine (Sub-)Domain mit HTTPS.
Plesk
- ZIP im Weblogy-Kundenkonto herunterladen (Shop → Lizenzen) und auf dem Server entpacken, z. B. nach
/opt/postwerk. - Plesk → Subdomain hinzufügen (z. B.
mail.deinefirma.de) und Let's Encrypt aktivieren. - Konfiguration:
cd /opt/postwerk/deploy && cp .env.example .env,PUBLIC_URLundMASTER_KEYsetzen (openssl rand -base64 32). Optional:SETUP_TOKENschützt die Ersteinrichtung. - Starten:
docker compose -p postwerk up -d --build– Postwerk lauscht auf127.0.0.1:8030. - Plesk → Subdomain → Apache- & nginx-Einstellungen → zusätzliche Anweisungen für HTTP und HTTPS:
ProxyPass /.well-known/acme-challenge ! ProxyPass / http://127.0.0.1:8030/ retry=0 flushpackets=on timeout=3600 ProxyPassReverse / http://127.0.0.1:8030/
- Adresse öffnen – beim ersten Aufruf legst du das Administrator-Konto an.
- Einstellungen → Lizenz: Schlüssel eintragen (Benutzerpakete als weitere Schlüssel).
Andere Docker-Hosts
deploy/docker-compose.yml hinter einem beliebigen Reverse-Proxy mit HTTPS (nginx, Caddy, Traefik) betreiben. Für /api/v1/stream (Live-Updates) das Puffern abschalten und Uploads bis 30 MB erlauben.
Sicherung & Updates
deploy/data/(Datenbank) zusammen mitdeploy/.envsichern – der Master-Schlüssel entschlüsselt die gespeicherten Postfach-Passwörter.- Update: neue ZIP herunterladen, Dateien ersetzen (
deploy/.envunddeploy/databehalten),docker compose -p postwerk up -d --build. Datenbank-Updates laufen automatisch.
Something missing or unclear? Write to info@weblogy.eu. Fehlt etwas oder ist unklar? Schreib an info@weblogy.eu.
