Deploy Pocket ID

Pocket ID 2.16 passkey-only OIDC provider for single sign-on.

Deploy Pocket ID

Just deployed

/app/data

Deploy and Host Pocket ID on Railway

Pocket ID is a simple OpenID Connect provider that signs users in with passkeys instead of passwords. Apps that support OIDC, such as Grafana, Nextcloud, Immich, Portainer, Proxmox and your own services, delegate login to it, and users authenticate with Face ID, Windows Hello, a phone or a hardware security key.

About Hosting Pocket ID

This template deploys Pocket ID v2.16.0 from the official image with SQLite on a Railway volume. Instead of leaving the initial setup page open to the first visitor, the start command creates the admin account through the API with a generated static API key. While the admin has no passkey, every start prints a one-time sign-in link, valid for one hour, to the deployment logs. Open it, add your passkey, then create OIDC clients for your apps. Pocket ID trusts Railway's proxy headers and fits the Hobby plan. Users sign in with passkeys only, so there are no passwords to leak or reset.

Common Use Cases

  • Passwordless single sign-on for self-hosted apps and internal tools
  • An OIDC provider for your own applications and APIs
  • Replacing shared passwords with passkeys for a small team

Dependencies for Pocket ID Hosting

  • ghcr.io/pocket-id/pocket-id:v2.16.0 (official image)
  • A Railway volume at /app/data for the database and uploads

Deployment Dependencies

Implementation Details

ServiceImageNetworkingStorage
pocketidghcr.io/pocket-id/pocket-id:v2.16.0public domain on 1411volume at /app/data

After deploying, open the deployment logs and look for:

pocket-id: admin has no passkey yet; open within 1 hour to sign in once and add one: https:///lc/<code>
VariableDefaultPurpose
POCKET_ID_ADMIN_USERNAME / POCKET_ID_ADMIN_EMAILadmin / admin@example.comAdmin account created on first start
STATIC_API_KEYgeneratedAdmin API key (header X-API-Key), also used by the bootstrap
ENCRYPTION_KEYgeneratedEncrypts stored secrets; never change it
APP_URLhttps://Public URL and OIDC issuer

Notes:

  • If the link expired, redeploy to print a new one; the link stops appearing once a passkey exists.
  • The static API key has admin rights; remove it after setup if you don't use the API.

This is a community-maintained deployment package and does not imply affiliation with or endorsement by the Pocket ID project or its maintainers.

Why Deploy Pocket ID on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Pocket ID on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Keycloak
Keycloak template with keywind theme + apple and discord providers

beuz
755
View Template
lua-protector
Test deployed my project first

trianaq765-cmd's Project
36
View Template
bknd
Feature-rich yet lightweight backend

10