Skip to main content
WP AutoFlow is designed to be deployed using Docker, ensuring that the Node.js application, MongoDB, and Redis run together perfectly in isolated containers.

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:
git clone https://github.com/fabioselau077/wp-autoflow.git
cd wp-autoflow
cp .env.example .env
Start the system using Docker Compose:
docker compose up -d --build
The system is now running on 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.
  1. Install Nginx Proxy Manager.
  2. Add a new Proxy Host pointing to your domain (e.g., app.yourdomain.com).
  3. Set the Forward Hostname/IP to your WP AutoFlow server IP and the port to 3000.
  4. 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:
  1. Install Caddy.
  2. Open your Caddyfile and add:
app.yourdomain.com {
    reverse_proxy localhost:3000
}
  1. Restart Caddy. It will automatically fetch an SSL certificate for you.