Skip to content

Commit

Permalink
Change Runner endpoint, migrated RUST_LOG to compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Jan 24, 2024
1 parent 0c23fc7 commit 34a92f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion block-streamer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN if [ "$CARGO_BUILD_MODE" = "debug" ]; then \

FROM ubuntu:22.04
ARG CARGO_BUILD_MODE=release
ENV RUST_LOG=info
RUN apt update && apt install -yy openssl ca-certificates
USER nobody
COPY --from=build /tmp/block-streamer/target/$CARGO_BUILD_MODE/block-streamer /block-streamer
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_REGION: eu-central-1
RUST_LOG: info
ports:
- "8002:8002"

Expand Down
2 changes: 1 addition & 1 deletion runner/src/server/runner-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function startRunnerServer (executors: Map<string, StreamHandler>
assert(process.env.GRPC_SERVER_PORT, 'GRPC_SERVER_PORT is not defined');

server.bindAsync(
`0.0.0.0:${process.env.GRPC_SERVER_PORT}`,
`[::]:${process.env.GRPC_SERVER_PORT}`,
credentials.createInsecure(), // TODO: Use secure credentials with allow for Coordinator
(err: Error | null, port: number) => {
if (err) {
Expand Down

0 comments on commit 34a92f7

Please sign in to comment.