focalboard/docker
Marco 12e793b7ad
recreate dockerfile (#168)
This commit recreates the entire dockerfile for several reasons:
* compile focalboard instead of downloading and extracting a tarball
* it uses an alpine image and intermediate containers to obtain a much
  smaller image
* run focalboard as user inside the container instead of root

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-04-28 16:55:29 +02:00
..
config.json
docker-compose-db-nginx.yml
docker-compose.yml
Dockerfile recreate dockerfile (#168) 2021-04-28 16:55:29 +02:00
README.md

Deploy Focalboard with Docker

Docker

The Dockerfile gives a quick and easy way to pull the latest Focalboard server and deploy it locally.

docker build -t focalboard .
docker run -it -p 80:8000 focalboard

Open a browser to http://localhost to start

Docker-Compose

Docker-Compose provides the option to automate the build and run step, or even include some of the steps from the personal server setup.

To start the server run

docker-compose up

This will automatically build the focalboard image and start it with the http port mapping.

To run focalboard with a nginx proxy and a postgres backend run

docker-compose -f docker-compose-db-nginx.yml up