From 250a54e73640562ee7ce57367029ebed3b11c080 Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Mon, 11 May 2026 23:25:44 -0700 Subject: [PATCH] created kanboard --- Kanboard/.env.example | 14 ++++++++++++++ Kanboard/docker-compose-nfs.yaml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 Kanboard/.env.example create mode 100644 Kanboard/docker-compose-nfs.yaml diff --git a/Kanboard/.env.example b/Kanboard/.env.example new file mode 100644 index 0000000..c01c4c1 --- /dev/null +++ b/Kanboard/.env.example @@ -0,0 +1,14 @@ +# Kanboard Docker Compose - Environment Variables + +# Docker image tag to use for Kanboard. Defaults to "latest" if not set. +KANBOARD_VERSION=latest + +# Host port to expose the Kanboard web UI on. Maps to container port 80. +KANBOARD_PORT=8080 + +# IP address or hostname of the NFS server used for the app volume. +KANBOARD_NFS_SERVER=192.168.1.100 + +# NFS export path for the Kanboard app volume (data, plugins, and SSL certs). +# Example: :/mnt/pool/kanboard/app +KANBOARD_NFS_DEVICE=:/mnt/pool/kanboard/app diff --git a/Kanboard/docker-compose-nfs.yaml b/Kanboard/docker-compose-nfs.yaml new file mode 100644 index 0000000..2ae9fb6 --- /dev/null +++ b/Kanboard/docker-compose-nfs.yaml @@ -0,0 +1,32 @@ +services: + app: + image: kanboard/kanboard:${KANBOARD_VERSION:-latest} + container_name: kanboard-app + ports: + - ${KANBOARD_PORT}:80 + environment: + - PLUGIN_INSTALLER=true + volumes: + - kanboard-app:/var/www/app/data + - kanboard-app:/var/www/app/plugins + - kanboard-app:/etc/nginx/ssl + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost/healthcheck.php"] + interval: 10s + timeout: 5s + retries: 3 + start_period: 30s + deploy: + resources: + limits: + memory: 512m + restart: unless-stopped + +volumes: + kanboard-app: + name: kanboard-app + driver: local + driver_opts: + type: nfs + o: "addr=${KANBOARD_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" + device: "${KANBOARD_NFS_DEVICE}" \ No newline at end of file