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:
parent
f6625de0e5
commit
102e3c60fa
@ -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"]
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user