diff --git a/hello-tracing-backend/Dockerfile b/hello-tracing-backend/Dockerfile index a69e307..408adb6 100644 --- a/hello-tracing-backend/Dockerfile +++ b/hello-tracing-backend/Dockerfile @@ -10,6 +10,7 @@ RUN cargo build --release --package hello-tracing-backend FROM debian:bullseye-slim COPY --from=builder /root/hello-tracing-rs/target/release/hello-tracing-backend /usr/local/bin/hello-tracing-backend COPY --from=builder /root/hello-tracing-rs/hello-tracing-backend/config /opt/hello-tracing-backend/config +ENV RUST_LOG="hello_tracing_backend=debug,info" WORKDIR /opt/hello-tracing-backend ENTRYPOINT ["hello-tracing-backend"] EXPOSE 8080/tcp diff --git a/hello-tracing-gateway/Dockerfile b/hello-tracing-gateway/Dockerfile index ee374ab..26221dc 100644 --- a/hello-tracing-gateway/Dockerfile +++ b/hello-tracing-gateway/Dockerfile @@ -10,6 +10,7 @@ RUN cargo build --release --package hello-tracing-gateway FROM debian:bullseye-slim COPY --from=builder /root/hello-tracing-rs/target/release/hello-tracing-gateway /usr/local/bin/hello-tracing-gateway COPY --from=builder /root/hello-tracing-rs/hello-tracing-gateway/config /opt/hello-tracing-gateway/config +ENV RUST_LOG="hello_tracing_gateway=debug,info" WORKDIR /opt/hello-tracing-gateway ENTRYPOINT ["hello-tracing-gateway"] EXPOSE 8080/tcp