Skip to main content

Installation

Idenplane supports multiple installation methods to fit your environment and workflow.


Prerequisites​

Before installing Idenplane, ensure you have:

RequirementMinimumRecommended
Docker20.10+24.x+
Docker Compose2.20+2.20+
DatabasePostgreSQL 16PostgreSQL 17
RAM512 MB2 GB
Disk1 GB10 GB
tip

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​

RequirementVersion
Node.js24.x
npm10.x+
PostgreSQL16+

Installation Steps​

  1. Clone the repository:

    git clone https://github.com/idenplane/idenplane.git
    cd idenplane
  2. Install dependencies:

    npm install
    cd admin-ui && npm install && cd ..
  3. Configure environment:

    node scripts/setup-env.cjs

    This writes a .env with generated secrets and refuses to overwrite an existing one. If you copy .env.example instead, replace every REPLACE_ME_... value first: the placeholder ADMIN_PASSWORD is refused at startup.

  4. Setup database:

    # Generate Prisma client
    npm run prisma:generate

    # Run migrations
    npm run prisma:migrate

    # Optional: Seed with sample data
    npm run prisma:seed
  5. Build and start:

    # Build all packages
    npm run build:all

    # Start in production mode
    npm 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:

EndpointDescriptionExpected Response
http://localhost:3000/health/liveLiveness check{"status":"ok"}
http://localhost:3000/health/readyReadiness check{"status":"ok"}
http://localhost:3000/consoleAdmin ConsoleLogin page
http://localhost:3000/apiSwagger API DocsAPI documentation

First Sign-In​

FieldValueNote
UsernameADMIN_USER (default admin)
PasswordADMIN_PASSWORD from .envThere 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 KeyValue from ADMIN_API_KEY envGenerated 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


idenplane.com · GitHub · Discord