Commit graph

15 commits

Author SHA1 Message Date
Jesús Espino
74161aa1ca
Remove duplicated restart on docker compose (#1067) 2021-08-23 16:38:34 +02:00
jingkai
6df2dd93dd
fix: fixed user nobody not owning /data (#683)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Carlos Tadeu Panato Junior <carlos@mattermost.com>
2021-07-20 15:01:02 +02:00
Carlos Tadeu Panato Junior
41d01c18fb
docker: fix docker file image and apply some good practices (#552)
* docker: fix docker file image and apply some good practices

* update docker-compose
2021-07-01 11:46:03 +02:00
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
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