Investigate if we should switch to supervisord
fstab opened this issue · 2 comments
The Docker image runs multiple services (OTel collector, Prometheus, Loki, Tempo, Grafana).
Currently we use run-all.sh
as a wrapper script to run all of these services.
supervisord
is a more sophisticated solution to run multiple services. We should investigate whether it's worthwhile to switch to supervisord
.
https://docs.docker.com/config/containers/multi-service_container/
Instead of supervisor
you could also take a look at https://github.com/just-containers/s6-overlay because you don't have a dependency to Python.
Also I was wondering why using redhat/ubi8
as baseimage? For example Grafana itself is using: alpine:3.19.1
, that could get the image size down.
Could use something like goreman to have a single binary and just execute a Procfile.