1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00
focalboard/docker
Stavros Foteinopoulos 1f7470aca7
Expose 9092 port on docker container (#517)
If this commit merged focalboard helm chart would be able to implement a metrics endpoint.
2021-06-22 11:08:16 +03:00
..
config.json Enable prometheus metrics for Focalboard to enable observability (#414) 2021-05-18 17:12:51 +03:00
docker-compose-db-nginx.yml Expose 9092 port on docker container (#517) 2021-06-22 11:08:16 +03:00
docker-compose.yml Expose 9092 port on docker container (#517) 2021-06-22 11:08:16 +03:00
Dockerfile Expose 9092 port on docker container (#517) 2021-06-22 11:08:16 +03:00
README.md Add Docker volume persistence (#159) 2021-06-07 11:20:32 +02:00
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.

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