docs: update
This commit is contained in:
+2
-1
@@ -1,6 +1,6 @@
|
|||||||
# Test compose
|
# Test compose
|
||||||
|
|
||||||
This folder contains a simple Docker Compose stack to run the Go server together with an MQTT broker and a Python subscriber client.
|
This folder contains a simple Docker Compose stack to run the Go server together with a MySQL database, an MQTT broker, and a Python subscriber client.
|
||||||
|
|
||||||
Quickstart:
|
Quickstart:
|
||||||
|
|
||||||
@@ -10,6 +10,7 @@ docker compose up --build
|
|||||||
```
|
```
|
||||||
|
|
||||||
- The Go server is built from the repository `Dockerfile` and is configured via environment variables in `docker-compose.yml`.
|
- The Go server is built from the repository `Dockerfile` and is configured via environment variables in `docker-compose.yml`.
|
||||||
|
- The MySQL database is initialized with the schema from `../ai-improved.sql`.
|
||||||
- The MQTT broker is `eclipse-mosquitto` and is exposed on port `1883`.
|
- The MQTT broker is `eclipse-mosquitto` and is exposed on port `1883`.
|
||||||
- The `subscriber` service runs `subscribe.py` and prints any messages published to the `lambdaiot` topic.
|
- The `subscriber` service runs `subscribe.py` and prints any messages published to the `lambdaiot` topic.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user