mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-03 08:45:40 +02:00
8f746a44bd
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. |
||
---|---|---|
.. | ||
config.json | ||
docker-compose-db-nginx.yml | ||
docker-compose.yml | ||
Dockerfile | ||
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