Disable GitLab Prometheus and set tsdb retention time to 12h

This commit is contained in:
Paul Brinkmeier 2022-09-13 15:51:14 +02:00
parent 9fc48e9141
commit 57aa48d68a
2 changed files with 8 additions and 1 deletions

View File

@ -6,3 +6,4 @@
- [x] Make it inaccessible to anyone but root (`-rw------`) - [x] Make it inaccessible to anyone but root (`-rw------`)
- [x] Add [Drone runner](https://docs.drone.io/runner/docker/installation/linux/) - [x] Add [Drone runner](https://docs.drone.io/runner/docker/installation/linux/)
- [ ] Figure out how to dependably store `.env` files (Ansible vault? Something else?) - [ ] Figure out how to dependably store `.env` files (Ansible vault? Something else?)
- [ ] Check out docker swarm and current best practices for Ansible

View File

@ -79,11 +79,17 @@ services:
# https://docs.gitlab.com/omnibus/settings/rpi.html # https://docs.gitlab.com/omnibus/settings/rpi.html
puma['worker_processes'] = 2 puma['worker_processes'] = 2
sidekiq['concurrency'] = 9 sidekiq['concurrency'] = 9
prometheus_monitoring['enable'] = false
nginx['listen_port'] = 80 nginx['listen_port'] = 80
nginx['listen_https'] = false nginx['listen_https'] = false
# https://forum.gitlab.com/t/clear-up-postges-prometheus-data/38216/3
prometheus_monitoring['enable'] = false
prometheus['enable'] = false
prometheus['flags'] = {
'storage.tsdb.retention.time' => "12h"
}
jupyter: jupyter:
image: ihaskell-docker:1.0 image: ihaskell-docker:1.0
# ports: # ports: