From 0f1e57de99a9bdeca1f6a4ad1d28e20de87630ab Mon Sep 17 00:00:00 2001 From: Sthope Date: Sun, 17 Apr 2022 17:03:24 +0200 Subject: [PATCH] first commit --- docs/portainer-stacks/MQTT-Mosquitto.md | 25 +++++++++++++++++++++++++ mkdocs.yml | 1 + 2 files changed, 26 insertions(+) create mode 100644 docs/portainer-stacks/MQTT-Mosquitto.md 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