Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SAC4.0
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
REMY Laurent
SAC4.0
Commits
3e745f6b
Commit
3e745f6b
authored
3 years ago
by
REMY Laurent
Browse files
Options
Downloads
Patches
Plain Diff
mqtt docker update
parent
dd2443b8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RPI4/dockerRunCommande.txt
+11
-4
11 additions, 4 deletions
RPI4/dockerRunCommande.txt
with
11 additions
and
4 deletions
RPI4/dockerRunCommande.txt
+
11
−
4
View file @
3e745f6b
...
...
@@ -15,9 +15,16 @@ docker run -d -p 8000:8000 -p 9000:9000 --name portainer \
-v portainer_data:/data \
portainer/portainer-ce:2.11.1
#MQTT Mousqito
#MQTT Mousqito
YAML
docker run -it -p 1883:1883 -p 9001:9001 --name SACMQTT \
-v /home/pi/docker/mqtt/mosquitto.conf:/mosquitto/config/mosquitto.conf eclipse-mosquitto
version: "3"
docker run -it -p 1883:1883 -p 9001:9001 -v mosquitto.conf:/mosquitto/config/mosquitto.conf arm64v8/eclipse-mosquitto
\ No newline at end of file
services:
mosquitto:
image: arm64v8/eclipse-mosquitto
volumes:
- /home/pi/docker/mqtt:/mosquitto/:rw
- /home/pi/docker/mqtt/mosquitto.conf:/mosquitto/config/mosquitto.conf
ports:
- 1883:1883
- 9001:9001
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment