Skip to content
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

support --docker-network arg for dev cli #125

Conversation

rolyatmax
Copy link
Member

@rolyatmax rolyatmax commented Jun 5, 2024

This adds support to the dev CLI for passing in a custom docker network during development.

Usage:

npx jamsocket dev --docker-network foobar

Note: this network must exist before spawning backends, otherwise they will fail to start.

@rolyatmax rolyatmax requested a review from paulgb June 5, 2024 14:45
@paulgb
Copy link
Member

paulgb commented Jun 5, 2024

Would it be hard to check if the network exists when the dev CLI starts? It wouldn't catch the case where the network is deleted, but we could catch most cases.

Copy link
Member

@paulgb paulgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, but looks good.

@rolyatmax rolyatmax merged commit 42780d9 into main Jun 5, 2024
3 checks passed
@rolyatmax rolyatmax deleted the taylor/dis-2084-allow-setting-docker-network-when-running-jamsocket-dev branch June 5, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants