Table of Contents:

How to Setup Kanboard with Docker on Debian 11

Kanboard is an open source project management software in the same vein as Trello. Except you can totally own your data and workflow by having it hosted in a trusted environment. Today we are going to walk you through setting up Kanboard on a Debian 11 Linux server. Seem too difficult? We will gladly setup and host your Kanboard instance for you. Email us today to get a quote!

Step 1: Setting up Docker and Docker-Compose

Step 2 Creating our docker-compose.yml file

Docker-Compose reads environment variables from a file called docker-compose.yml. We suggest making a folder called Kanboard or something similar so you know where it is.

Here is a sample file you can copy and paste. It has been commented to help explain what each line does.

version: '2'
services:
  kanboard:
    image: kanboard/kanboard:latest # Image to pull from Docker
    ports: # inside:outside meaning this will listen for connections coming   
           # from  ports 80 and 443 and do not need to be unique
           # inside ports need to be unique
     - "8080:80"
     - "443:443"
    volumes:
     - kanboard_data:/var/www/app/data # Where we store the Kanboard data
     - kanboard_plugins:/var/www/app/plugins # Where our plugins are
     - kanboard_ssl:/etc/nginx/ssl # Where our ssl certs are
volumes:
  kanboard_data:
    driver: local # Meaning the volumes are on this host, not on a nas
  kanboard_plugins:
    driver: local
  kanboard_ssl:
    driver: local

After saving the file you are ready to start the container! Just run the following command in that directory.

sudo docker-compose up

Now open a web browser and go to localhost:8080 and you should be able to see the Kanboard login menu!

Note that if you close that terminal you will stop the Kanboard container. To have it run as a daemon add the -d flag to the above command.