OpenVortexAI Docs
Getting started

Docker quick start

Start OpenVortexAI with Docker Compose and verify that the core services are healthy.

Prerequisites

  • Docker Engine with the Compose plugin.
  • Git.
  • A machine that can persist local directories for database, uploads, and Valkey data.
  • Python or OpenSSL for generating secrets.

1. Clone and create the environment file

git clone https://github.com/openvortexai/Openvortex_Ai.git
cd openvortexai
cp .env.example .env

On PowerShell, replace the final command with:

Copy-Item .env.example .env

2. Set required values

At minimum, set these values in .env:

ENVIRONMENT=production
OPENVORTEXAI_POSTGRES_PASSWORD=<strong-random-password>
JWT_SECRET=<strong-random-secret>
CREDENTIAL_ENCRYPTION_KEY=<fernet-key>
BOOTSTRAP_ADMIN_EMAIL=[email protected]
BOOTSTRAP_ADMIN_PASSWORD=<strong-admin-password>

Generate a Fernet key:

python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

Generate a JWT secret:

openssl rand -hex 32

Keep both values stable after the first deployment. Rotating them affects active sessions and encrypted provider credentials.

3. Start the stack

docker compose up -d --build

Open http://localhost:9950.

4. Verify services

docker compose ps
docker compose logs --tail=100 api web postgres valkey

The web service should be reachable on ${FRONTEND_PORT:-9950}. The API normally binds to 127.0.0.1:${BACKEND_PORT:-7800} and should not need direct public exposure.

Persistent data

The default deployment keeps important data under:

  • ./data/postgres
  • ./data/uploads
  • ./data/valkey

Do not delete persistent volumes

Do not run docker compose down -v unless you intentionally want to delete persistent data. Back up the data directories before major upgrades.

Next step

Continue with first login and initial setup.

On this page