Self-host Pocket ID with Levelrail

Verified

A simple, secure OIDC provider that authenticates with passkeys instead of passwords.

  • Authorpocket-idVerified by Levelrail
  • LicenceBSD-2-Clause
  • Memory128 MiB
  • Archarm64
  • Services1

How to self-host Pocket ID

  1. Pull the images

    One image is pulled on your server.

    Show images
    • ghcr.io/pocket-id/pocket-id:v1.13
  2. Create the app

    One service starts in a single Compose app, with 1 named volume mount for your data, on port 1411.

  3. Fill in the secrets

    2 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

Pocket ID requirements

Memory
About 128 MiB
Architectures
amd64 image published, arm64 tested
Ports
1411
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
BSD-2-Clause, permissive license
  • Verified. Verified on arm64 with image tag v1.13. Our CI ran this exact image version and it answered on its health path. Evidence
  • Host ports. It publishes port 1411 on the host, so open them in the VPS firewall only if you want that.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Pocket ID. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Pocket ID docs page.

Deploy Pocket ID your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Pocket ID from the CLI

levelrail-cli templates deploy pocket-id --name my-pocket-id

Deploy Pocket ID with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/pocket-id/deploy

Pocket ID configuration

Pocket ID services

ServiceImagePortsVolumes
pocket-id ghcr.io/pocket-id/pocket-id:v1.13 1411 pocket_id_data -> /app/data

Pocket ID environment variables

VariableServiceValue
APP_URL pocket-id Preset by the template
TRUST_PROXY pocket-id Preset by the template

Ports and volumes

Ports
1411
Volumes
1 named mount: pocket_id_data -> /app/data

Pocket ID FAQ

How much memory does Pocket ID need?

The catalog lists about 128 MiB of memory for Pocket ID.

Does Pocket ID run on arm64?

For Pocket ID, arm64 is tested; amd64 is image published.

What licence is Pocket ID under?

Pocket ID is licensed under BSD-2-Clause, which is permissive, with few conditions on reuse.

Does Pocket ID need configuration before it starts?

No. The template fills in its own defaults.

Which ports does Pocket ID use?

Pocket ID listens on port 1411 inside the stack.

Where does Pocket ID keep its data?

In a named volume: pocket_id_data mounted at /app/data.

Can I deploy Pocket ID on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id pocket-id for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/pocket-id/pocket-id:v1.13 is what you deploy there.

levelrail-cli templates deploy pocket-id --name my-pocket-id