Levelrail
Skip to content

Self-host Unleash (Postgres) with Docker ​

An open-source feature flag platform with gradual rollouts, A/B testing, and a permission model.

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

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

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
postgrespostgres:16-alpinenone
unleash_postgres_data -> /var/lib/postgresql/data
unleashunleashorg/unleash-server:latest4242none

Environment variables ​

ServiceVariableValue
postgresPOSTGRES_DBPreset in the template
postgresPOSTGRES_PASSWORDGenerated at deploy
postgresPOSTGRES_USERPreset in the template
unleashDATABASE_SSLPreset in the template
unleashDATABASE_URLGenerated at deploy
unleashLOG_LEVELPreset in the template
unleashUNLEASH_DEFAULT_ADMIN_PASSWORDGenerated at deploy
unleashUNLEASH_URLPreset 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 Unleash (Postgres) with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Unleash (Postgres). Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy unleash-postgres --name my-unleash-postgres

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.