-
-
Notifications
You must be signed in to change notification settings - Fork 3
chore(local dev): Allow for custom GRPC port to be specified #492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,8 +25,9 @@ services: | |
| environment: | ||
| TASKBROKER_KAFKA_CLUSTER: "kafka-kafka-1:9093" | ||
| TASKBROKER_CREATE_MISSING_TOPICS: "true" | ||
| TASKBROKER_GRPC_PORT: "50055" | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the only problem is getting the port to be set to 50055 for local development when running taskbroker standalone. Putting an I think the current approach should work for the docker container served from devservices, but I think this needs to still work for local taskbroker running side by side without requiring manual intervention from the dev not sure the best way to accomplish that
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing the default port for locally run taskbroker would require a config file, or environment vars. We might want to try making all of these changes locally and seeing how colima handles the new port mapping. I suspect that |
||
| ports: | ||
| - 127.0.0.1:50051:50051 | ||
| - 127.0.0.1:50055:50055 | ||
| networks: | ||
| - devservices | ||
| labels: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expose both since IIRC the docker image is used for both cloudbuild (prod) and GHCR (devservices aka local)