1. Prerequisites
- A VPS running Ubuntu 22.04 or 24.04 (Contabo, DigitalOcean, Hetzner, etc.).
- Docker and Docker Compose V2 installed.
2. Installation Steps
Clone the repository and configure your environment:http://YOUR_SERVER_IP:3000.
3. Secure your instance (Reverse Proxy & SSL)
Never expose port 3000 directly to the internet in a production environment. You must use a Reverse Proxy to secure your credentials and API keys with an SSL certificate (HTTPS). Here are the two industry-standard methods:Option A: Nginx Proxy Manager (GUI)
The easiest method if you prefer a visual interface.- Install Nginx Proxy Manager.
- Add a new Proxy Host pointing to your domain (e.g.,
app.yourdomain.com). - Set the Forward Hostname/IP to your WP AutoFlow server IP and the port to
3000. - Enable “Request a new SSL Certificate” in the SSL tab.
Option B: Caddy Server (CLI)
If you prefer a lightweight CLI approach with automated SSL provisioning:- Install Caddy.
- Open your
Caddyfileand add:
- Restart Caddy. It will automatically fetch an SSL certificate for you.