diff --git a/docs/portainer-stacks/MQTT-Mosquitto.md b/docs/portainer-stacks/MQTT-Mosquitto.md new file mode 100644 index 0000000..e57085e --- /dev/null +++ b/docs/portainer-stacks/MQTT-Mosquitto.md @@ -0,0 +1,25 @@ +Portainer Stack: +``` +--- +version: "3.8" +services: + mqtt: + container_name: mqtt + hostname: mqtt + image: eclipse-mosquitto:latest + restart: unless-stopped + network_mode: bridge + user: "1000:1000" + environment: + - TZ=Europe/Amsterdam + volumes: + - /etc/localtime:/etc/localtime:ro + - /mqtt/config:/mosquitto/config + - /mqtt/data:/mosquitto/data + - /mqtt/log:/mosquitto/log + ports: + - 9001:9001 + - 1883:1883 + labels: + - com.centurylinklabs.watchtower.enable=true +``` \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index f042bc5..71e14c1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -79,6 +79,7 @@ nav: - Heimdall: portainer-stacks/heimdall.md - Jellyfin: portainer-stacks/jellyfin.md - MQTT-Explorer: portainer-stacks/mqtt-explorer.md + - MQTT-Mosquitto: portainer-stacks/MQTT-Mosquitto.md - Octoprint: portainer-stacks/octoprint.md - qBittorrent: portainer-stacks/qbittorrent.md - Samba: portainer-stacks/samba.md