Levelrail
Skip to content

Self-host Hoppscotch with Docker ​

An open-source API development platform, a self-hosted alternative to Postman, backed by Postgres.

This page describes the Levelrail template for Hoppscotch (Developer Tools). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.hoppscotch.io.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:15-alpinenone
hoppscotch_db_data -> /var/lib/postgresql/data
hoppscotchhoppscotch/hoppscotch:2026.2.180none

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
hoppscotchDATABASE_URLGenerated at deploy
hoppscotchDATA_ENCRYPTION_KEYGenerated at deploy
hoppscotchENABLE_SUBPATH_BASED_ACCESSPreset in the template
hoppscotchVITE_ALLOWED_AUTH_PROVIDERSPreset in the template
hoppscotchVITE_BASE_URLPreset in the template
hoppscotchWHITELISTED_ORIGINSPreset 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 Hoppscotch with Levelrail ​

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

With the CLI:

levelrail-cli templates deploy hoppscotch --name my-hoppscotch

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Developer Tools templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.