---
title: "Deploy Pocket ID"
description: "A simple OIDC provider that enables authentication with passkeys."
category: "Authentication"
url: https://railway.com/deploy/pocket-id-3
---

# Deploy Pocket ID

A simple OIDC provider that enables authentication with passkeys.

**[Deploy Pocket ID on Railway](https://railway.com/template/pocket-id-3)**

- **Creator:** maxrn
- **Category:** Authentication
- **Total deploys:** 1

## Template content

### Pocket ID https://raw.githubusercontent.com/selfhst/icons/main/svg/pocket-id-light.svg

- **Image:** ghcr.io/pocket-id/pocket-id:v2
- **Health check:** /healthz

## Documentation

# Deploy and Host Pocket ID on Railway

NOT OFFICIAL OR AFFILIATED WITH Pocket ID
Always refer to the official sources:
https://github.com/pocket-id/pocket-id
https://pocket-id.org/

The goal of Pocket ID is to be a simple and easy-to-use. There are other self-hosted OIDC providers like Keycloak or ORY Hydra but they are often too complex for simple use cases.

Additionally, what makes Pocket ID special is that it only supports passkey authentication, which means you don’t need a password. Some people might not like this idea at first, but I believe passkeys are the future, and once you try them, you’ll love them. For example, you can now use a physical Yubikey to sign in to all your self-hosted services easily and securely.

## About Hosting Pocket ID

Hosting should be straight forward, almost no setup is required: Only set your public URL for DNS and you're good.

## Common Use Cases

- Providing auth for self-hosted services
- No more remembering passwords

## Dependencies for hosting Pocket ID

None.

### Deployment Dependencies

- https://pocket-id.org/docs/setup/installation
- https://pocket-id.org/docs/configuration/environment-variables


## 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.

## Similar templates

- [Keycloak](https://railway.com/deploy/mSwigX) — Keycloak template with keywind theme + apple and discord providers
- [lua-protector](https://railway.com/deploy/lua-protector) — Test deployed my project first
- [bknd](https://railway.com/deploy/p4nTYL) — Feature-rich yet lightweight backend

Open this page in a browser: https://railway.com/deploy/pocket-id-3
