Add additional ENV variables to the dockerfile

This commit is contained in:
Daan Boerlage 2023-04-06 17:15:12 +02:00
parent 04b4b55d34
commit d99024d27a
Signed by: daan
GPG key ID: FCE070E1E4956606

View file

@ -2,9 +2,11 @@ FROM scratch
COPY ${CI_WORKSPACE}/target/release/osrs-prometheus-exporter /bootstrap
ENV OTEL_SERVICE_NAME osrs-prometheus-exporter
ENV OTEL_EXPORTER_OTLP_ENDPOINT http://localhost:4317
ENV OTEL_EXPORTER_OTLP_PROTOCOL grpc
ENV OTEL_SERVICE_NAME=osrs-prometheus-exporter
ENV OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
ENV OTEL_EXPORTER_OTLP_PROTOCOL=grpc
ENV OTEL_TRACES_SAMPLER=always_on
ENV axum_tracing_opentelemetry=info
EXPOSE 3030