SUSE / telemetry-server

Proof of Concept Telemetry Server scaffolding
Apache License 2.0
2 stars 0 forks source link

Add docker compose support #30

Closed rtamalin closed 1 month ago

rtamalin commented 1 month ago

Updated the Dockerfile to support passing the telemetry-server config file to use via a build argument. Also broke up the build stage steps to go mod download before triggering a build, reducing layer churn if some dependencies have updated. Added a healthcheck command for the telemetry-server container so that it's health is visble is docker ps output.

Added test config files for use with docker and docker compose testing scenarios. This removes the need for host networking when running the telemetry-server using docker.

Added Makefile actions to launch the telemetry server using docker or docker compose.

Updated README.md to better explain how to start the telemetry-server manually or using docker or docker compose.