File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 33# recent enough version of protobuf-compiler
44FROM rust:1-bookworm AS build
55
6- RUN apt-get update && apt-get upgrade -y
6+ RUN apt-get update && apt-get upgrade -y
77RUN apt-get install -y cmake pkg-config libssl-dev librdkafka-dev protobuf-compiler
88
99RUN USER=root cargo new --bin taskbroker
@@ -41,6 +41,7 @@ RUN groupadd taskbroker --gid 1000 && useradd --gid taskbroker --uid 1000 taskbr
4141RUN apt-get update && apt-get upgrade -y && apt-get install -y libssl-dev libsqlite3-dev libsqlite3-0 openssl ca-certificates
4242
4343EXPOSE 50051
44+ EXPOSE 50055
4445
4546# For the sqlite to be mounted too
4647RUN mkdir /opt/sqlite
@@ -54,4 +55,4 @@ WORKDIR /opt
5455CMD ["/opt/taskbroker" ]
5556
5657# To build and run locally:
57- # docker build -t taskbroker --no-cache . && docker rm taskbroker && docker run --name taskbroker -p 127.0.0.1:50051:50051 -e TASKBROKER_KAFKA_CLUSTER=sentry_kafka:9093 --network sentry taskbroker
58+ # docker build -t taskbroker --no-cache . && docker rm taskbroker && docker run --name taskbroker -p 127.0.0.1:50055:50055 -e TASKBROKER_KAFKA_CLUSTER=sentry_kafka:9093 --network sentry taskbroker
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ services:
2525 environment :
2626 TASKBROKER_KAFKA_CLUSTER : " kafka-kafka-1:9093"
2727 TASKBROKER_CREATE_MISSING_TOPICS : " true"
28+ TASKBROKER_GRPC_PORT : " 50055"
2829 ports :
29- - 127.0.0.1:50051:50051
30+ - 127.0.0.1:50055:50055
3031 networks :
3132 - devservices
3233 labels :
You can’t perform that action at this time.
0 commit comments