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

Improve network isolation for serve up #516

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

spillai
Copy link
Contributor

@spillai spillai commented Jan 13, 2024

This PR improves the network isolation for the docker compose flow of spinning up the grpc and http-gateway servers. We no longer use the host network mode, and instead use the bridge network mode. We have also added all the default gRPC and HTTP addresses/ports to constants.

Summary

Related issues

Checks

  • make lint: I've run make lint to lint the changes in this PR.
  • make test: I've made sure the tests (make test-cpu or make test) are passing.
  • Additional tests:
    • Benchmark tests (when contributing new models)
    • GPU/HW tests

This PR improves the network isolation for the docker compose
flow of spinning up the grpc and http-gateway servers. We no longer
use the `host` network mode, and instead use the `bridge` network
mode. We have also added all the default gRPC and HTTP addresses/ports
to constants.
@spillai spillai merged commit dd40e3f into autonomi-ai:main Jan 13, 2024
5 checks passed
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.

1 participant