Self-host Unleash with Levelrail
A feature flag service with gradual rollouts and targeting rules.
- AuthorUnleash
- LicenceApache-2.0
- Memory512 MiB
- Services2
How to self-host Unleash
-
Pull the images
2 images are pulled on your server.
Show images
postgres:16-alpineunleashorg/unleash-server:7.4.0
-
Create the app
2 services start in a single Compose app, with 1 named volume mount for your data, on port 4242.
-
Fill in the secrets
2 secrets are generated and stored encrypted, 4 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Unleash requirements
- Memory
- About 512 MiB
- Architectures
- amd64 unknown, arm64 unknown
- Ports
- 4242
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- Apache-2.0, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Unleash. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Unleash docs page.
Deploy Unleash your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Unleash from the CLI
levelrail-cli templates deploy unleash --name my-unleash Deploy Unleash with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/unleash/deploy Unleash configuration
Unleash services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| db | postgres:16-alpine | none | db_data -> /var/lib/postgresql/data |
| unleash | unleashorg/unleash-server:7.4.0 | 4242 | none |
Unleash environment variables
| Variable | Service | Value |
|---|---|---|
| POSTGRES_DB | db | Preset by the template |
| POSTGRES_PASSWORD | db | Generated at deploy |
| POSTGRES_USER | db | Preset by the template |
| DATABASE_SSL | unleash | Preset by the template |
| DATABASE_URL | unleash | Generated at deploy |
| LOG_LEVEL | unleash | Preset by the template |
Ports and volumes
- Ports
- 4242
- Volumes
- 1 named mount: db_data -> /var/lib/postgresql/data
Unleash FAQ
How much memory does Unleash need?
The catalog lists about 512 MiB of memory for Unleash across its 2 services.
Does Unleash run on arm64?
For Unleash, arm64 support is not confirmed; amd64 is unknown.
What licence is Unleash under?
Unleash is licensed under Apache-2.0, which is permissive, with few conditions on reuse.
Does Unleash need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which database does Unleash bundle?
The template includes Postgres, running as its own service.
Which ports does Unleash use?
Unleash listens on port 4242 inside the stack.
Where does Unleash keep its data?
In a named volume: db_data mounted at /var/lib/postgresql/data.
Can I deploy Unleash on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id unleash for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image postgres:16-alpine, unleashorg/unleash-server:7.4.0 is what you deploy there.