Skip to content

Commit

Permalink
add messagin and broker
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrelamberty committed Jul 24, 2023
1 parent cb31886 commit 97a413e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ services:
- 3333
depends_on:
- database
messaging:
image: alexandrelamberty/nidus-messaging:${API_IMAGE_TAG}
environment:
- MQTT_SERVER=${MQTT_SERVER}
- MQTT_CLIENT_ID=${MQTT_CLIENT}
- MQTT_USERNAME=${MQTT_USERNAME}
- MQTT_PASSWORD=${MQTT_PASSWORD}
ports:
- 3333
depends_on:
- broker
web:
image: alexandrelamberty/nidus-web:${WEB_IMAGE_TAG}
environment:
Expand Down Expand Up @@ -47,6 +58,12 @@ services:
- database_config:/data/configdb
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js
restart: always
broker:
image: emqx/emqx:latest
restart: always
environment:
EMQX_NAME: foo_emqx
EMQX_HOST: 127.0.0.1
mongo-express:
image: mongo-express
container_name: nidus-mongo-express
Expand Down

0 comments on commit 97a413e

Please sign in to comment.