Skip to content

Installation

System Requirements

RequirementMinimumRecommended
CPU2 cores4 cores
RAM2 GB8 GB
Disk4 GB20 GB
OSLinux, macOS, Windows (WSL2)Ubuntu 22.04 LTS
RuntimeDocker 24+ or Podman 4+Docker 24+

Service Ports (default)

ServicePortDescription
Dashboard3000Admin web UI
Policy Engine3001REST API
API Gateway3002AI proxy
PostgreSQL5432Internal — not exposed by default
Redis6379Internal — not exposed by default

Environment Variables

The installer generates .env automatically from .env.example. Key variables you may need to customise after installation:

VariableDescriptionDefault
ADMIN_EMAILInitial admin account emailSet at install
ADMIN_PASSWORDInitial admin account passwordAuto-generated
JWT_SECRETJWT signing secretAuto-generated
POSTGRES_PASSWORDDatabase passwordAuto-generated
KEYCLOAK_ENABLEDEnable SSO via Keycloakfalse
ALLOWED_ORIGINSCORS allowed originshttp://localhost:3000
NODE_ENVRuntime modeproduction

Do not commit .env to version control — it contains secrets.

API Gateway

To route your OpenAI or Anthropic API calls through BitDrip, point your application's base URL at the gateway:

bash
# Instead of:
OPENAI_BASE_URL=https://api.openai.com/v1

# Use:
OPENAI_BASE_URL=http://localhost:3002/openai/v1

The gateway forwards the request to the upstream API only after the Policy Engine approves the content.

User Management

Add users in the Admin Dashboard: Users → Invite.

Invited users receive an email with a setup link and sign in with their organisation email.

For SSO (Keycloak / SAML / OIDC) see SSO below.

SSO

Set KEYCLOAK_ENABLED=true in .env and configure:

env
KEYCLOAK_URL=https://your-keycloak-host
KEYCLOAK_REALM=bitdrip
KEYCLOAK_CLIENT_ID=bitdrip-web

BitDrip ships a pre-configured Keycloak service. Start it with:

bash
docker compose --profile sso up -d

Upgrading

Find the latest version number at portal.bitdrip.app after signing in, or in your welcome email download link.

bash
# Download the new bundle from your account at portal.bitdrip.app
tar -xzf bitdrip-<new-version>.tar.gz
cd bitdrip-<new-version>
cp ../bitdrip-<old-version>/license.jwt ./license.jwt
cp ../bitdrip-<old-version>/.env ./.env
bash install.sh

The installer detects the existing installation and performs a rolling update.

Uninstalling

bash
docker compose down -v   # removes containers and volumes

Export compliance reports and audit logs from the dashboard before uninstalling if you need to retain them.

Released under the BitDrip Commercial License.