Skip to content

Commit

Permalink
adding mosquitto
Browse files Browse the repository at this point in the history
  • Loading branch information
dfirebaugh committed Mar 30, 2021
1 parent b1335bb commit d377687
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ services:
build: um3-wooter
env_file:
./um3-wooter/.env
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:1.6.10
volumes:
- ./mqtt/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
ports:
- '8883:8883'
- '1883:1883'
restart: unless-stopped
# chat:
# build: ./chat
# networks:
Expand Down
10 changes: 10 additions & 0 deletions mqtt/config/mosquitto.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
port 1883

# cafile /mosquitto/config/certs/ca.crt
# certfile /mosquitto/config/certs/server.crt
# keyfile /mosquitto/config/certs/server.key

require_certificate false
use_identity_as_username true

# log_type all

0 comments on commit d377687

Please sign in to comment.