Log inSign up

Planka boards for your team on a small VPS

Download the official Planka docker-compose.yml, set BASE_URL to https://boards.example.net, generate a SECRET_KEY, bind the app to 127.0.0.1:3000 and run docker compose up -d. Create the first administrator with the bundled command, then let Nginx or Caddy handle HTTPS and the realtime socket. Planka is light: one Node.js container plus PostgreSQL fits a 1 or 2 GB plan.

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

What is Planka and what does it need?

Planka is a kanban tool with projects, boards, lists, cards, labels, due dates, attachments and live updates between users. It ships as a Node.js container and stores its data in PostgreSQL plus a few folders for uploaded files.

For a team of up to a few dozen people, 1 vCPU and 2 GB of memory is plenty. Prepare:

  • Docker Engine with the Compose plugin, from the Docker app image or the steps in Docker Engine.
  • A hostname, here boards.example.net, with A and AAAA records for 198.51.100.24 and 2001:db8:4f2a::24.
docker compose version
getent hosts boards.example.net

How do you get the compose file and set its values?

Planka publishes a compose file in its repository; fetch it into its own folder and change the address, secret and port binding.

mkdir -p ~/planka && cd ~/planka
curl -fsSLo docker-compose.yml https://raw.githubusercontent.com/plankanban/planka/master/docker-compose.yml
openssl rand -hex 64
nano docker-compose.yml

In the planka service:

  • Set BASE_URL=https://boards.example.net. Links in notifications and the socket connection are built from it.
  • Paste the random hex string as SECRET_KEY.
  • Change the ports line (for example 3000:1337) to 127.0.0.1:3000:1337, so the app listens only for the local proxy.
  • If the file lists DEFAULT_ADMIN_EMAIL, DEFAULT_ADMIN_PASSWORD, DEFAULT_ADMIN_NAME and DEFAULT_ADMIN_USERNAME, you can fill them in to create the admin on first start.

In the postgres service, keep the image the file chooses; the database is only reachable on the internal Docker network.

How do you start it and create the admin?

Start the stack, check the containers, and create an administrator if you did not use the default admin variables.

docker compose up -d
docker compose ps
docker compose run --rm planka npm run db:create-admin-user
curl -sI http://127.0.0.1:3000 | head -n 1

The helper asks for email, password, name and username. A 200 response from the last line means the app is serving pages. The image tag in the compose file decides the version; docker compose images prints it.

How do you publish Planka with HTTPS?

Use a reverse proxy that forwards WebSocket upgrades, because Planka pushes card changes to every open browser through a socket. With Nginx:

sudo apt install -y nginx certbot python3-certbot-nginx
server {
    listen 80;
    listen [::]:80;
    server_name boards.example.net;
    client_max_body_size 50M;
    location / {
        proxy_pass http://127.0.0.1:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
sudo nano /etc/nginx/sites-available/planka   # paste the block
sudo ln -s /etc/nginx/sites-available/planka /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo certbot --nginx -d boards.example.net

With Caddy the whole site is two lines in /etc/caddy/Caddyfile, boards.example.net { then reverse_proxy 127.0.0.1:3000 and a closing brace; certificates come automatically (Caddy HTTPS).

Which ports should the firewall allow?

Only 22, 80 and 443. Planka and PostgreSQL never need to be public.

sudo ufw allow OpenSSH
sudo ufw allow 80,443/tcp
sudo ufw enable
sudo ss -tlnp | grep -E ':3000|:5432'

The ss line should show port 3000 on 127.0.0.1 and no PostgreSQL port at all on the host. See firewall rules for the nftables view.

How do email notifications get sent?

Planka reads SMTP settings from environment variables in the planka service: SMTP_HOST, SMTP_PORT=587, SMTP_SECURE=false (STARTTLS is negotiated on 587), SMTP_USER, SMTP_PASSWORD and SMTP_FROM. Use an authenticated relay; port 25 for direct delivery may be closed, so ask support by ticket before planning on it. The relay setup and DNS records are in SMTP relay for apps. Apply with docker compose up -d and assign yourself a card to test.

How do you back up and update Planka?

Dump the database and archive the volumes that hold attachments, avatars and backgrounds.

cd ~/planka
docker compose exec -T postgres pg_dump -U postgres planka | gzip > planka-db-$(date +%F).sql.gz
docker volume ls | grep planka

Archive each listed data volume with a throwaway container, for example docker run --rm -v planka_data:/d -v "$PWD":/o alpine tar czf /o/planka-files.tgz -C /d ., using the real volume names. Updates are a pull and recreate:

docker compose pull
docker compose up -d
docker compose logs --tail 30 planka

Database migrations run when the new container starts. Read the release notes before a major version, since the compose file and variables can change between them.

What goes wrong most often with Planka?

  • Cards do not update live: the proxy drops the WebSocket; add the Upgrade and Connection headers.
  • Login works but redirects to the wrong address: BASE_URL does not match the real HTTPS address.
  • Container restarts in a loop: read docker compose logs planka; a wrong database password is typical.
  • Uploads fail: 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
A1-2a team with a few boards1 vCPU, 2 GB RAM, 50 GB NVMe$7.20/mo$43.20 for 6 months
A2-2more users and attachments2 vCPU, 2 GB RAM, 60 GB NVMe$10.80/mo$64.80 for 6 months

Questions about Planka kanban boards

Can Planka import Trello boards?

Yes. Planka can import a Trello board export (JSON) when you create a board, bringing lists, cards and labels across.

Does Planka support single sign-on?

Yes, it supports OpenID Connect. Configure the OIDC variables in the compose file and point them at a provider such as Authelia.

How is Planka different from Wekan?

Both are self-hosted kanban tools. Planka uses PostgreSQL and a lean interface, while Wekan uses MongoDB and offers swimlanes and more board options.

Can I run Planka without Docker?

Yes, the project documents a manual install with Node.js and PostgreSQL, though the Docker route is the simplest to keep updated.

Who can create projects?

Administrators and users with project manager rights. Regular members work in the boards they are added to.