On this page
- What is Planka and what does it need?
- How do you get the compose file and set its values?
- How do you start it and create the admin?
- How do you publish Planka with HTTPS?
- Which ports should the firewall allow?
- How do email notifications get sent?
- How do you back up and update Planka?
- What goes wrong most often with Planka?
- Questions
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 for198.51.100.24and2001:db8:4f2a::24.
docker compose version
getent hosts boards.example.netHow 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.ymlIn 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) to127.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_NAMEandDEFAULT_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 1The 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-nginxserver {
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.netWith 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 plankaArchive 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 plankaDatabase 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_URLdoes 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_sizein Nginx.
Plans that fit this guide
Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.
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.
More in Self-hosted apps
- Nextcloud on Nginx
- ownCloud Infinite Scale
- Seafile file sync
- Vaultwarden password vault
- Passbolt team password manager
- Gitea Git hosting
- Forgejo Git server
- GitLab Community Edition
- Gogs Git service
- Wiki.js
- BookStack documentation
- Outline knowledge base
- Paperless-ngx documents
- n8n workflow automation
- Activepieces automation
- Plausible Analytics (Community Edition)
- Umami analytics
- Mattermost team chat
- Matrix Synapse with Element
- Jitsi Meet video calls
- ONLYOFFICE Docs with Nextcloud
- HashiCorp Vault secrets server
- OpenBao secrets management
- Infisical secrets manager
- Authelia SSO and forward auth
- Zitadel identity platform
- VS Code in the browser (code-server)
- Joplin Server for notes sync
- Firefly III personal finance
- Snipe-IT asset tracking
- Odoo ERP on Ubuntu or Debian
- ERPNext with frappe_docker
- Dolibarr ERP and CRM with Nginx
- Penpot design tool with Docker
- Leantime project management
- Wekan boards with Docker
- Cal.com scheduling
- Chatwoot support inbox
- Mautic marketing automation
- DocuSeal document signing
- Metabase dashboards
- Appwrite backend server
- Self-hosted Supabase
- PocketBase backend
- RustDesk relay server
- Traccar GPS tracking
- Redmine project tracker
- The Lounge IRC client
- CyberChef data toolbox
- Typebot chat forms
- AFFiNE workspace
- Overleaf Community Edition
- Neko shared virtual browser
- imgproxy image resizing
- NetBox network inventory
- UVdesk help desk
- YetiForce CRM