Log inSign up

Penpot for your design team, on your own server

Download Penpot's official docker-compose.yaml, set PENPOT_PUBLIC_URI to https://design.example.net, add a secret key, bind the frontend to 127.0.0.1:9001 and start it with docker compose -p penpot up -d. Nginx with a Let's Encrypt certificate publishes it, including the WebSocket path used for live collaboration. Create accounts with the backend's manage.py create-profile command and close open registration.

Topic: Self-hosted apps · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13 · Updated 2026-12-03

What makes up a Penpot installation?

Penpot runs as several containers: a frontend (static files and an internal proxy), a backend (Clojure on the JVM), an exporter that renders images and PDFs with a headless browser, PostgreSQL and Valkey (a Redis-compatible store). The backend and exporter use the most memory, so 4 GB is a sensible floor for a small team and 2 vCPU keeps exports quick.

Start from a server with Docker Engine and the Compose plugin; the Docker app image has both, or follow Docker Engine on a plain Ubuntu or Debian image. Point design.example.net at 198.51.100.24 and 2001:db8:4f2a::24.

docker --version
docker compose version
free -h

How do you fetch and adjust the official compose file?

Penpot keeps a ready compose file in its repository; download it and change a few values rather than writing your own.

mkdir -p ~/penpot && cd ~/penpot
curl -fsSLo docker-compose.yaml https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml
openssl rand -base64 48
nano docker-compose.yaml

Edit these parts of the file:

  • Public address: set PENPOT_PUBLIC_URI to https://design.example.net.
  • Secret key: set PENPOT_SECRET_KEY to the random string printed by openssl. Sessions and tokens are signed with it, so keep it stable.
  • Flags: in PENPOT_FLAGS remove disable-secure-session-cookies (you will serve HTTPS) and keep enable-smtp.
  • Port: change the frontend mapping from 9001:8080 to 127.0.0.1:9001:8080 so only Nginx can reach it.
  • Database password: replace the default PostgreSQL password in both the database service and the backend settings.

How do you start Penpot and confirm it runs?

Bring the stack up under the project name penpot, then check the containers and the local port.

docker compose -p penpot -f docker-compose.yaml up -d
docker compose -p penpot ps
sudo ss -tlnp | grep 9001
curl -sI http://127.0.0.1:9001 | head -n 1

All services should show as running and the frontend should answer with HTTP 200. The first start runs database migrations, so give the backend a minute; docker compose -p penpot logs -f penpot-backend shows progress.

How do you put Penpot behind Nginx with HTTPS?

Proxy everything to port 9001, upgrade the /ws/notifications path to a WebSocket, and allow large uploads because design files with images get big.

sudo apt install -y nginx certbot python3-certbot-nginx
server {
    listen 80;
    listen [::]:80;
    server_name design.example.net;
    client_max_body_size 350M;
    location /ws/notifications {
        proxy_pass http://127.0.0.1:9001/ws/notifications;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }
    location / {
        proxy_pass http://127.0.0.1:9001;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 300s;
    }
}
sudo ln -s /etc/nginx/sites-available/penpot /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo certbot --nginx -d design.example.net
sudo ufw allow OpenSSH && sudo ufw allow 'Nginx Full' && sudo ufw enable

Save the block as /etc/nginx/sites-available/penpot before linking it. Caddy needs just reverse_proxy 127.0.0.1:9001, since it forwards WebSockets automatically (Caddy HTTPS).

How do you create users and close registration?

Create accounts from the command line, then add disable-registration to PENPOT_FLAGS so strangers cannot sign up.

docker exec -ti penpot-penpot-backend-1 python3 manage.py create-profile
# answers: email, full name, password
cd ~/penpot && nano docker-compose.yaml   # add disable-registration to PENPOT_FLAGS
docker compose -p penpot up -d

If your container name differs, docker compose -p penpot ps lists it. Team owners can still invite people by email from inside Penpot once SMTP works. For single sign-on, Penpot supports OIDC providers such as the ones in the Authelia and Zitadel guides.

How do you connect outgoing mail?

Fill the SMTP variables in the backend environment with an authenticated relay on port 587: PENPOT_SMTP_HOST, PENPOT_SMTP_PORT=587, PENPOT_SMTP_USERNAME, PENPOT_SMTP_PASSWORD, PENPOT_SMTP_TLS=true and PENPOT_SMTP_DEFAULT_FROM. The stock file also starts a mail catcher container for testing, which you can remove once real mail works. Port 25 for direct delivery may be closed on new servers; open a support ticket to ask before relying on it. SMTP relay for apps covers the DNS side. Restart with docker compose -p penpot up -d and send yourself a team invite.

How do you back up and update Penpot?

Penpot data lives in two places: the PostgreSQL database and the assets volume with uploaded images and fonts.

cd ~/penpot
docker compose -p penpot exec -T penpot-postgres pg_dump -U penpot penpot | gzip > penpot-$(date +%F).sql.gz
docker volume ls | grep penpot
docker run --rm -v penpot_penpot_assets:/data -v "$PWD":/out alpine tar czf /out/assets-$(date +%F).tgz -C /data .

Use the exact volume name from docker volume ls. Updating means pulling new images and recreating; migrations run on start:

docker compose -p penpot pull
docker compose -p penpot up -d
docker image prune -f

Read the release notes before major versions, and compare your edited compose file with the new upstream one in case settings were renamed.

Which problems come up most often?

  • Login loops or "unauthorized" after login: PENPOT_PUBLIC_URI does not match the address in the browser, or HTTPS is missing while secure cookies are on.
  • Collaborators do not see each other: the WebSocket location is missing in Nginx.
  • Export to PNG or PDF fails: check docker compose -p penpot logs penpot-exporter; the exporter needs memory headroom.
  • Uploads rejected: raise client_max_body_size in Nginx.

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
A2-4a small design team2 vCPU, 4 GB RAM, 100 GB NVMe$14.40/mo$43.20 for 3 months
A4-8larger files and more editors4 vCPU, 8 GB RAM, 180 GB NVMe$28.80/mo$86.40 for 3 months

Questions about Penpot design tool with Docker

Is Penpot compatible with Figma files?

Penpot does not open Figma files directly. There are community export plugins that convert designs into Penpot format with varying fidelity.

Does Penpot need a GPU?

No. Rendering happens in the browser of each designer, and the exporter uses a headless browser on the CPU.

Can I keep assets outside the server?

Penpot can store assets in an S3-compatible object store through its storage settings. A local volume, as in this guide, is simpler for one server.

How many designers can share one instance?

That depends on file sizes and how many people edit at once. A 4 GB server suits a small team; watch the usage graphs and move up when memory stays high.

Is self-hosted Penpot free?

Yes. Penpot is open source under the MPL 2.0 license, and the self-hosted version has no seat limits.