> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-host Pocket ID with Docker

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

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

This page describes the Levelrail template for Pocket ID (Security). It deploys the services below as one Docker Compose app on your own server. Project site: [https://pocket-id.org/docs/setup/installation](https://pocket-id.org/docs/setup/installation).

Recommended memory: about 128 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `pocket-id` | `ghcr.io/pocket-id/pocket-id:v1.13` | 1411 | `pocket_id_data -&#62; /app/data` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `pocket-id` | `APP_URL` | Preset in the template |
| `pocket-id` | `TRUST_PROXY` | Preset in the template |

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

## Deploy Pocket ID with Levelrail

In the dashboard, open **Apps**, choose **New app**, then **Browse templates**, and select Pocket ID. Review the Compose body and deploy.

With the CLI:

```bash theme={"dark"}
levelrail-cli templates deploy pocket-id --name my-pocket-id
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Security templates

* [2FAuth](/self-host/2fauth)
* [authentik](/self-host/authentik)
* [Cap](/self-host/cap-captcha)
* [Cryptgeon](/self-host/cryptgeon)
* [Infisical](/self-host/infisical)

All templates are listed in the [self-host gallery](/self-host).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.