Commit Graph

11 Commits

Author SHA1 Message Date
Kassim
69df147723
Add Docker volume persistence (#159)
* Add persistence to the default Docker container

This sets a default volume of `/data` for the Docker container.
This allows for persistence when using the default SQLite database, and the option of mounting the volume to the host for backing up.

* Add -v flag description

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-07 11:20:32 +02:00
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
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
Chen-I Lim
acd2a89d5a Update dockerfile and docs to v0.6.5 release 2021-04-21 10:37:06 -07:00
Jesús Espino
4fbb99b254 Set consistent spacing in the config file for the docker compose 2021-03-20 09:41:53 +01:00
Jeremiah Butler
9d26fac616 update docker-compose for dependency handling 2021-03-19 11:15:20 -04:00
Jeremiah Butler
f0a7713b16 update with changes to main 2021-03-19 11:09:19 -04:00
Jeremiah Butler
9738fca088 update files from main 2021-03-19 11:07:50 -04:00
Jeremiah Butler
d26aa73b32 reorder dockerfile install to alphabetize 2021-03-18 20:38:02 -04:00
Jeremiah Butler
f204a7fd92 update docker-compose and add README 2021-03-18 20:35:54 -04:00
Jeremiah Butler
7fa9017d25 add docker-compose 2021-03-18 15:53:38 +00:00