focalboard/docker
Harshil Sharma 2ab4e95289
Updated go version (#3189)
* Updated go version

* Generated mocks

* lint fix

* lint fix

* lint fix

* Updated gitlab builder image
2022-06-06 10:18:21 +02:00
..
config.json Fix configuration for prometheus address (#2763) 2022-04-12 17:43:29 -04:00
docker-compose-db-nginx.yml Remove duplicated restart on docker compose (#1067) 2021-08-23 16:38:34 +02:00
docker-compose.yml docker: fix docker file image and apply some good practices (#552) 2021-07-01 11:46:03 +02:00
Dockerfile Updated go version (#3189) 2022-06-06 10:18:21 +02:00
README.md Add chown for nobody in the docker run example (#2193) 2022-01-31 16:52:02 +05:30
server_config.json Add Docker volume persistence (#159) 2021-06-07 11:20:32 +02:00

Deploy Focalboard with Docker

Docker

The Dockerfile gives a quick and easy way to pull the latest Focalboard server and deploy it locally. Please note that if you wish to have persistence and mount a volume for the /data directory, the host directory must be owned by user nobody.

sudo chown -R nobody /home/user/focalboard-data
docker build -t focalboard .
docker run -it -v "/home/user/focalboard-data:/data" -p 80:8000 focalboard

The -v flag can be used to store Focalboard's database and uploaded files in a directory on the Docker host

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