created kanboard
This commit is contained in:
@@ -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
|
||||
@@ -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}"
|
||||
Reference in New Issue
Block a user