Self-host Penpot with Levelrail
VerifiedAn open-source design and prototyping platform, a self-hosted alternative to Figma.
- Authorpenpot
- LicenceMPL-2.0
- Memory2 GiB
- Archarm64
- Services5
How to self-host Penpot
-
Pull the images
5 images are pulled on your server.
Show images
penpotapp/backend:2.11.1penpotapp/exporter:2.11.1penpotapp/frontend:2.11.1postgres:15-alpinevalkey/valkey:8.1-alpine
-
Create the app
5 services start in a single Compose app, with 3 named volume mounts for your data, on port 8080.
-
Fill in the secrets
5 secrets are generated and stored encrypted, 12 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.
Penpot requirements
- Memory
- About 2 GiB
- Architectures
- amd64 image published, arm64 tested
- Ports
- 8080
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MPL-2.0, copyleft license
- Verified. Verified on arm64 with image tag 2.11.1. Our CI ran this exact image version and it answered on its health path. Evidence
- Host ports. It publishes port 8080 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Penpot. 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 Penpot docs page.
Deploy Penpot your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Penpot from the CLI
levelrail-cli templates deploy penpot --name my-penpot Deploy Penpot with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/penpot/deploy Penpot configuration
Penpot services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| backend | penpotapp/backend:2.11.1 | none | penpot_assets -> /opt/data/assets |
| exporter | penpotapp/exporter:2.11.1 | none | none |
| frontend | penpotapp/frontend:2.11.1 | 8080 | none |
| postgres | postgres:15-alpine | none | penpot_db_data -> /var/lib/postgresql/data |
| valkey | valkey/valkey:8.1-alpine | none | penpot_valkey_data -> /data |
Penpot environment variables
| Variable | Service | Value |
|---|---|---|
| PENPOT_DATABASE_PASSWORD | backend | Generated at deploy |
| PENPOT_DATABASE_URI | backend | Preset by the template |
| PENPOT_DATABASE_USERNAME | backend | Generated at deploy |
| PENPOT_FLAGS | backend | Preset by the template |
| PENPOT_OBJECTS_STORAGE_BACKEND | backend | Preset by the template |
| PENPOT_OBJECTS_STORAGE_FS_DIRECTORY | backend | Preset by the template |
| PENPOT_PUBLIC_URI | backend | Preset by the template |
| PENPOT_REDIS_URI | backend | Preset by the template |
Show all 17 variables
- PENPOT_SECRET_KEYbackendGenerated at deploy
- PENPOT_PUBLIC_URIexporterPreset by the template
- PENPOT_REDIS_URIexporterPreset by the template
- PENPOT_BACKEND_URIfrontendPreset by the template
- PENPOT_EXPORTER_URIfrontendPreset by the template
- POSTGRES_DBpostgresPreset by the template
- POSTGRES_INITDB_ARGSpostgresPreset by the template
- POSTGRES_PASSWORDpostgresGenerated at deploy
- POSTGRES_USERpostgresGenerated at deploy
Ports and volumes
- Ports
- 8080
- Volumes
- 3 named mounts: penpot_assets -> /opt/data/assets, penpot_db_data -> /var/lib/postgresql/data, penpot_valkey_data -> /data
Penpot FAQ
How much memory does Penpot need?
The catalog lists about 2 GiB of memory for Penpot across its 5 services.
Does Penpot run on arm64?
For Penpot, arm64 is tested; amd64 is image published.
What licence is Penpot under?
Penpot is licensed under MPL-2.0, which is copyleft, so changes you distribute must be shared under the same terms.
Does Penpot need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which database does Penpot bundle?
The template includes Postgres and Redis, running as its own service.
Which ports does Penpot use?
Penpot listens on port 8080 inside the stack.
Where does Penpot keep its data?
In named volumes: penpot_assets mounted at /opt/data/assets, penpot_db_data mounted at /var/lib/postgresql/data and penpot_valkey_data mounted at /data.
Can I deploy Penpot 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 penpot for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image penpotapp/backend:2.11.1, penpotapp/exporter:2.11.1, penpotapp/frontend:2.11.1, postgres:15-alpine, valkey/valkey:8.1-alpine is what you deploy there.