From 20917da4048c569ce327d0bbc3ec84d811340a7c Mon Sep 17 00:00:00 2001 From: David Young Date: Mon, 11 Jun 2018 20:27:53 +1200 Subject: [PATCH] Polish Kanboard --- manuscript/recipies/kanboard.md | 59 +++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/manuscript/recipies/kanboard.md b/manuscript/recipies/kanboard.md index aeded76..e713baa 100644 --- a/manuscript/recipies/kanboard.md +++ b/manuscript/recipies/kanboard.md @@ -2,7 +2,10 @@ hero: Kanboard - A recipe to get your personal kanban on # Kanboard -Kanboard is a Kanban tool, developed by [Frédéric Guillot](https://github.com/fguillot). (Who also happens to be the developer of my favorite RSS reader, [Miniflux](/recipies/miniflux/)) +Kanboard is a Kanban tool, developed by [Frédéric Guillot](https://github.com/fguillot). (_Who also happens to be the developer of my favorite RSS reader, [Miniflux](/recipies/miniflux/)_) + +!!! tip "Sponsored Project" + Kanboard is one of my [sponsored projects](/sponsored-projects/) - a project I financially support on a regular basis because of its utility to me. I use it both in my DayJob(tm), and to manage my overflowing, overly-optimistic personal commitments! 😓 Features include: @@ -36,6 +39,16 @@ Create the location for the bind-mount of the application data, so that it's per mkdir -p /var/data/kanboard ``` +### Setup Environment + +If you intend to use an [OAuth proxy](/reference/oauth_proxy/) to further secure public access to your instance, create a ```kanboard.env``` file to hold your environment variables, and populate with your OAuth provider's details (_the cookie secret you can just make up_): + +``` +# If you decide to protect kanboard with an oauth_proxy, complete these +OAUTH2_PROXY_CLIENT_ID= +OAUTH2_PROXY_CLIENT_SECRET= +OAUTH2_PROXY_COOKIE_SECRET= +``` ### Setup Docker Swarm @@ -55,32 +68,34 @@ services: - /var/data/kanboard/data:/var/www/app/data - /var/data/kanboard/plugins:/var/www/app/plugins networks: - - traefik_public + - internal deploy: labels: - traefik.frontend.rule=Host:kanboard.example.com - traefik.docker.network=traefik_public - traefik.port=80 - cron: - image: kanboard/kanboard - volumes: - - /var/data/kanboard/data:/var/www/app/data - user: nginx - networks: - - internal - entrypoint: | - bash -c 'bash -s <``` -Log into your new instance at https://**YOUR-FQDN**. Default credentials are admin/admin, after which you can change (under 'profile') and add more users. +Log into your new instance at https://**YOUR-FQDN**. Default credentials are admin/admin, after which you can change (_under 'profile'_) and add more users. ## Chef's Notes