Running Kanboard - Visual Todo and Tasks Management - in Docker on Linux
i12bretro
#Docker #Linux #Kanboard
Full steps can be found at https://i12bretro.github.io/tutorials/0588.html
What is Kanboard?
Kanboard is project management software that focuses on the Kanban methodology. - https://github.com/kanboard/kanboard
Installing Docker
01. Log into the Linux based device 02. Run the following commands in the terminal # install prerequisites sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y # add docker gpg key curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add - # add docker software repository sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable" # install docker sudo apt install docker-ce docker-compose containerd.io -y # enable and start docker service sudo systemctl enable docker && sudo systemctl start docker # add the current user to the docker group sudo usermod -aG docker $USER # reauthenticate for the new group membership to take effect su - $USER
Running Kanboard
01. Now that Docker is installed, run the following commands to setup the Kanboard Docker container and run it # create working directories mkdir /home/$USER/docker/mariadb -p # set owner of working directories sudo chown "$USER":"$USER" /home/"$USER"/docker -R # create kanboard network docker network create containers # run the mariadb docker container docker run -d --name mariadb --network containers --network-alias db -e MYSQL_ROOT_PASSWORD=r00tp@ss -e MYSQL_USER=kanboard_rw -e MYSQL_PASSWORD=Kanb0r4! -e MYSQL_DATABASE=kanboard -v /home/$USER/docker/mariadb:/var/lib/mysql --restart=unless-stopped mariadb:latest # run the kanboard docker container docker run -d --name kanboard --network containers -p 8086:80 -e DATABASE_URL='mysql://kanboard_rw:Kanb0r4!@db/kanboa ... https://www.youtube.com/watch?v=QcTwdx-x6GY
19925803 Bytes