1
0
mirror of https://github.com/CCC-MF/bwhc-kafka-rest-proxy.git synced 2025-04-19 19:16:51 +00:00

chore: change default listen port

This commit is contained in:
Paul-Christian Volkmer 2024-03-08 15:26:06 +01:00
parent f6625de0e5
commit 102e3c60fa
2 changed files with 2 additions and 2 deletions

View File

@ -16,5 +16,5 @@ LABEL org.opencontainers.image.description="bwHC MTB-File REST Proxy für Kafka"
COPY --from=back-stage /build/target/release/bwhc-kafka-rest-proxy . COPY --from=back-stage /build/target/release/bwhc-kafka-rest-proxy .
USER 65532 USER 65532
EXPOSE 8000 EXPOSE 3000
CMD ["./bwhc-kafka-rest-proxy"] CMD ["./bwhc-kafka-rest-proxy"]

View File

@ -56,7 +56,7 @@ async fn main() {
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
let app = app.layer(TraceLayer::new_for_http()); let app = app.layer(TraceLayer::new_for_http());
let listener = tokio::net::TcpListener::bind("0.0.0.0:8000").await.unwrap(); let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
axum::serve(listener, app).await.unwrap(); axum::serve(listener, app).await.unwrap();
} }