change the network in docker-compose#370
Open
m0533199321 wants to merge 2 commits intomainfrom
Open
Conversation
Greptile OverviewGreptile SummaryAdded explicit Key changes:
Confidence Score: 3/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Client
participant AgCloud as ag_cloud Network
participant Postgres
participant Kafka
participant MinioHot as minio-hot
participant MQTT as mosquitto
participant Router as mqtt-router
participant DBApi as db_api_service
participant Services as Other Services
Note over AgCloud: Explicitly named network: "ag_cloud"
Client->>AgCloud: docker-compose up
AgCloud->>Postgres: Start on ag_cloud network
AgCloud->>Kafka: Start on ag_cloud network
AgCloud->>MinioHot: Start on ag_cloud network
AgCloud->>MQTT: Start on ag_cloud network
Note over Router: Replaces Kafka Connect
MQTT->>Router: MQTT messages
Router->>Kafka: Forward to Kafka topics
Note over DBApi: Now connects via ag_cloud network
DBApi->>Postgres: Connect to postgres:5432<br/>(was host.docker.internal)
Services->>MinioHot: Connect via minio-hot:9000
Services->>Kafka: Connect via kafka:9092
Services->>Postgres: Connect via postgres:5432
Note over AgCloud: All services communicate<br/>within named network
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.