Installation

Deploy SculptOps with Docker Compose.

Tip
Docker Compose is the recommended self-hosted deployment path.

Prerequisites

  • Docker Engine24.0 or later
  • Docker Composev2
  • OSLinux recommended; macOS and Windows via WSL2 can be used for development

Docker Compose

1. Clone the repository

bash
git clone https://github.com/refacto-eu/sculptops
cd sculptops

2. Configure environment variables

bash
cp .env.example .env

Edit .env and set at least:

VariableRequiredDescription
POSTGRES_PASSWORDYesPassword used by the bundled PostgreSQL service.
AUTH_SECRETYesRandom string for session signing.
AUTH_URLYesPublic URL of the app.
ENCRYPTION_KEYYes64-character hex key for encrypted credentials.

See the full Environment Variables reference for all supported options.

3. Start the stack

bash
docker compose up -d --build

This starts the application service and PostgreSQL database defined in the Compose file.

4. Open the browser

Navigate to your configured app URL and create the first admin account and organization.

Generating ENCRYPTION_KEY

Generate a secure random key with:

bash
openssl rand -hex 32
Danger
Store the encryption key securely. If you lose it, encrypted SSH keys and vault passwords cannot be recovered.

Reverse proxy

In production, place SculptOps behind a reverse proxy with HTTPS enabled. Make sure AUTH_URL and NEXT_PUBLIC_APP_URL match the public URL users access.

Verifying the installation

bash
docker compose ps
docker compose logs app --tail=50