Sign inSign up

arpanpal010/alpine-kanboard

By arpanpal010

•Updated almost 9 years ago

Automated php-Kanboard image built from alpine-nginxphp on a Raspberry Pi 3/Intel NUC.

Image
1

1.2K

arpanpal010/alpine-kanboard repository overview

⁠Alpine-Kanboard

⁠Container for Kanboard - Self-hosted Kanban/TimeTracking.

This image⁠ serves the Kanboard⁠ application with a PHP-FPM server which is then proxied out to port 80/443 via NGINX, which is also used to serve the statics. Uses self-signed certificates for the HTTPS. The web root dir is at /config/www. You can re-use your previous installation along with mods/plugins if you mount it at /config/www/kanboard. By default uses the SQLite3 database for storage but can be configured to use a MySQL⁠ container running separately.

Built from my alpine-nginxphp⁠ image using latest available php7.

Based on Alpine Linux⁠.

The image is tagged respectively for the following architectures,

  • armhf

⁠Get the Image

Pull the image for your architecture it's already available from Docker Hub.

# make pull
docker pull arpanpal010/alpine-kanboard:armhf


⁠Run

# make
docker run --rm -it
  --name docker_kanboard --hostname kanboard
  -e PGID=100 -e PUID=1001
  -c 256 -m 128m
  -p 64805:80
  -v $(CURDIR)/config:/config
  -v /etc/hosts:/etc/hosts:ro
  -v /etc/localtime:/etc/localtime:ro
  -e TZ=Asia/Kolkata
  arpanpal010/alpine-kanboard:armhf

# make stop
docker stop -t 2 docker_kanboard

# make rm
# stop first
docker rm -f docker_kanboard

# make restart
docker restart docker_kanboard


⁠Shell access

# make rshell
docker exec -u root -it docker_kanboard /bin/bash

# make shell
docker exec -it docker_kanboard /bin/bash

# make logs
docker logs -f docker_kanboard


⁠Services

PS: this bit is for dev only as you need the files from the repo.

# make systemd
# add systemd.service as a service if it exists, load it, and start or restart
# it if already running.


⁠Development


If you have the repository access, you can clone and build the image yourself for your own system, and can push after.


⁠Setup

Before you clone the repo, you must have Git⁠, GNU make⁠, and Docker⁠ setup on the machine.

git clone <repository url>
cd <repository>

You can always skip installing make but you will have to type the whole docker commands then instead of using the sweet make targets.


⁠Build

To locally build the image for your system.

# make build
docker build --rm --force-rm \
  -t arpanpal010/alpine-kanboard:armhf \
  --no-cache=true --pull .

# make push
docker push arpanpal010/alpine-kanboard:armhf


⁠Maintenance


Currently built daily on a RaspberryPi3 (armhf builds) or IntelNUC (x64 builds). Docker hub builds maintained by arpanpal010⁠.

Tag summary

Content type

Image

Digest

Size

35.9 MB

Last updated

almost 9 years ago

docker pull arpanpal010/alpine-kanboard:armhf