Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 1.63 KB

README.md

File metadata and controls

51 lines (26 loc) · 1.63 KB

docker-kanboard-postgres

Docker Compose with Kanboard and Postgres.

Kanboard is a free and open sourced, self-hosted Kanban board: https://github.com/kanboard/kanboard

This repository contains a docker-compose.yml to run Kanboard with PostgreSQL and data has been encapulating into a directory for simple backup.

Prerequisite

  • installed docker and docker-compose

  • (fork and) clone this repo

  • chmod 777 data/ plugins/

Start and Stop

docker-compose up -d

docker-compose down

Directories:

  • db: contains PostgreSQL database

  • plugins: Kanboard plugins downloaded here

  • data: Kanboard data directory, contains config file: config.php

Configuration:

  • .env: contains version numbers, and database password: do not afraid to change it!

  • set an exact version number for kanboard: replace kanboard_version=latest

Check data/config.php and postgres.sql files: it must comes from Kanboard v{kanboard_version}

Backup:

  • Save data and plugins directory.

  • PostgreSQL dump for database (db directory)

Log

docker logs --follow kanboard