Installation
Get Pocket ID running quickly with Docker or standalone installation
Before you start
Pocket ID requires a secure context, meaning it must be served over HTTPS. This is necessary because Pocket ID uses the WebAuthn API.
You can use a reverse proxy like Caddy or NGINX to serve Pocket ID over HTTPS. Alternatively, you can use a service like Cloudflare to provide HTTPS for your domain.
Installation Methods
Installation with Docker (recommended)
Download the
docker-compose.ymland.envfile:Edit the
.envfile so that it fits your needs. See the environment variables section for more information.Run
docker compose up -d
Create an admin account on https://<your-app-url>/setup.
Stand-alone Installation
Download the latest binary from the releases page.
Make sure to download the correct version for your operating system. The binary names follow this pattern:
pocket-id-<operating-system>-<architecture>- Example:
pocket-id-linux-amd64
You can use curl to download the binary directly. For example, for Linux on AMD64 architecture:
Rename the binary and make it executable:
Download the
.envfile:Edit the
.envfile so that it fits your needs. See the environment variables section for more information.Run the binary:
Create an admin account on https://<your-app-url>/setup.
Offline usage
If you are running Pocket ID in an air-gapped environment or without reliable internet access, you can disable external requests by setting the following environment variables:
VERSION_CHECK_DISABLED=true: Disables the automatic version check against GitHub.ANALYTICS_DISABLED=true: Disables the daily heartbeat request to the analytics server.
Community Installation Methods
[!IMPORTANT] These installation methods are not officially supported, and services may not work as expected.
Proxmox
Run the helper script as root in your Proxmox shell.
Configuration Paths
- /opt/pocket-id/backend/.env
- /opt/pocket-id/frontend/.env
Unraid
Pocket ID is available as a template on the Community Apps store.
Kubernetes Helm Chart
- A Helm chart maintained by @matslarson is available here.
- A Helm chart maintained by anza-labs here.
NixOS
A pocket-id module is available in NixOS Unstable.
It can be enabled by adding the following to your configuration.nix:
For further configuration of the module, see the available settings.
Installation from Source
It's not recommended to install Pocket ID from source unless you know what you're doing. The following instructions are provided for advanced users who want to customize or contribute to the project.
Required tools:
Run the following commands:
Edit the
.envfile so that it fits your needs. See the environment variables section for more information.Run the binary:
Create an admin account on https://<your-app-url>/setup.