Installation
Idenplane supports multiple installation methods to fit your environment and workflow.
Prerequisites
Before installing Idenplane, ensure you have:
| Requirement | Minimum | Recommended |
|---|---|---|
| Docker | 20.10+ | 24.x+ |
| Docker Compose | 2.20+ | 2.20+ |
| Database | PostgreSQL 16 | PostgreSQL 17 |
| RAM | 512 MB | 2 GB |
| Disk | 1 GB | 10 GB |
For local development, docker compose -f docker-compose.dev.yml up -d db starts a PostgreSQL container on localhost:5432.
Docker Hub / Docker Compose
For a new local installation, follow the Quickstart. It creates unique required credentials before starting the containers and waits for readiness.
From an existing repository checkout, with Node.js 24 and Docker Compose v2.20+:
node scripts/setup-env.cjs
docker compose up -d --wait --wait-timeout 180
Read ADMIN_PASSWORD in the generated .env file to sign in as admin. The helper refuses to overwrite an existing .env: preserve its database password and webhook encryption keys. Changing POSTGRES_PASSWORD in a file does not rotate it inside an existing PostgreSQL volume.
The supplied Compose file binds to localhost. Before production use configure HTTPS, durable backups, your public BASE_URL and a pinned release image. Keep secrets outside source control.
From Source
For development or custom deployments, build from source.
Prerequisites
| Requirement | Version |
|---|---|
| Node.js | 24.x |
| npm | 10.x+ |
| PostgreSQL | 16+ |
Installation Steps
-
Clone the repository:
git clone https://github.com/idenplane/idenplane.gitcd idenplane -
Install dependencies:
npm installcd admin-ui && npm install && cd .. -
Configure environment:
node scripts/setup-env.cjsThis writes a
.envwith generated secrets and refuses to overwrite an existing one. If you copy.env.exampleinstead, replace everyREPLACE_ME_...value first: the placeholderADMIN_PASSWORDis refused at startup. -
Setup database:
# Generate Prisma clientnpm run prisma:generate# Run migrationsnpm run prisma:migrate# Optional: Seed with sample datanpm run prisma:seed -
Build and start:
# Build all packagesnpm run build:all# Start in production modenpm run start:prod
Development Mode
For active development with hot-reload:
# Start PostgreSQL via Docker (development credentials idenplane/idenplane)
docker compose -f docker-compose.dev.yml up -d db
# Start backend in watch mode
npm run start:dev
# Start admin UI (separate terminal)
npm run admin:dev
Database
Idenplane runs on PostgreSQL 16 or later, and only on PostgreSQL: it relies on PostgreSQL triggers, row locks and LISTEN/NOTIFY.
DATABASE_URL=postgresql://idenplane:idenplane@localhost:5432/idenplane
A managed service works well: Amazon RDS or Aurora PostgreSQL, Google Cloud SQL, Azure Database for PostgreSQL, Supabase or Neon. For production settings (TLS with certificate verification, backups), see the Production Checklist.
Verifying Installation
After starting Idenplane, verify the installation:
| Endpoint | Description | Expected Response |
|---|---|---|
| http://localhost:3000/health/live | Liveness check | {"status":"ok"} |
| http://localhost:3000/health/ready | Readiness check | {"status":"ok"} |
| http://localhost:3000/console | Admin Console | Login page |
| http://localhost:3000/api | Swagger API Docs | API documentation |
First Sign-In
| Field | Value | Note |
|---|---|---|
| Username | ADMIN_USER (default admin) | |
| Password | ADMIN_PASSWORD from .env | There is no default password. If it is unset outside production, the first start prints a generated one once in its log; change it after signing in |
| API Key | Value from ADMIN_API_KEY env | Generated by you |
See How the first admin password is chosen.
Next Steps
Configuration Learn about all configuration options and environment variables
Quickstart Get started with Idenplane authentication in your first application
Admin Console Configure realms, users, and clients