Document environment variables in the dockerfile
This commit is contained in:
parent
9dbd783088
commit
04b4b55d34
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
COPY ${CI_WORKSPACE}/target/release/osrs-prometheus-exporter /bootstrap
|
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
|
||||||
|
|
||||||
EXPOSE 3030
|
EXPOSE 3030
|
||||||
|
|
||||||
CMD ["/bootstrap"]
|
CMD ["/bootstrap"]
|
Loading…
Reference in a new issue