Skip to content

Commit

Permalink
chore(misc): 🤖 local mqtt broker for development
Browse files Browse the repository at this point in the history
✅ Closes: #517
  • Loading branch information
andrew-codes committed Sep 27, 2024
1 parent c33fab3 commit e3439d1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .data/mqtt/config/mosquitto.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
allow_anonymous true
listener 1883
listener 9001
protocol websockets
persistence true
1 change: 1 addition & 0 deletions .devcontainer/manually-start-services-for-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ docker exec -t playnite-web-db-e2e mongorestore --nsInclude games.* /data/backup

docker run --name mqtt -d \
--network host \
-v $PWD/.data/mqtt/config:/mosquitto/config \
eclipse-mosquitto:latest

rm -rf apps/playnite-web/public/assets-by-id
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/manually-start-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ fi

docker run --name mqtt -d \
-p 1883:1883 \
-v $PWD/.data/mqtt/config:/mosquitto/config \
eclipse-mosquitto:latest
2 changes: 0 additions & 2 deletions apps/playnite-web/local.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ PASSWORD="dev"

MQTT_HOST=localhost
MQTT_PORT=1883
MQTT_USERNAME=local
MQTT_PASSWORD=dev

0 comments on commit e3439d1

Please sign in to comment.