1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00
focalboard/docker
Spiros Economakis 8f746a44bd
Enable prometheus metrics for Focalboard to enable observability (#414)
As an SRE team we would like to expose standard metrics and grouped by version
of the application. Right now will expose only metrics related to Go but instrumentor
should be used in other parts of the codebase so we can track other metrics, eg.
number of tasks, boards, users etc. Similar as we do in MM.

It will run in port `localhost:9092` and it is a new config `prometheus_address`.

Also in the commit we introduced, `group.Add` which helps us to handle gracefully
errors for goroutines. It's a good practice and there are couple of articles by
Golang for this.
2021-05-18 17:12:51 +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 update docker-compose for dependency handling 2021-03-19 11:15:20 -04:00
docker-compose.yml update docker-compose for dependency handling 2021-03-19 11:15:20 -04:00
Dockerfile recreate dockerfile (#168) 2021-04-28 16:55:29 +02:00
README.md update docker-compose and add README 2021-03-18 20:35:54 -04: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 -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