<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>mqtt on Tony Wu&#39;s Blog</title>
    <link>https://tonywu1995.github.io/tags/mqtt/</link>
    <description>Recent content in mqtt on Tony Wu&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Sat, 08 Apr 2023 19:53:48 +0800</lastBuildDate><atom:link href="https://tonywu1995.github.io/tags/mqtt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>MQTT Server - EMQP建立</title>
      <link>https://tonywu1995.github.io/devops/emqx/</link>
      <pubDate>Sat, 08 Apr 2023 19:53:48 +0800</pubDate>
      
      <guid>https://tonywu1995.github.io/devops/emqx/</guid>
      <description>前言 市面上MQTT Server 有很多種，例如: EMQX Mosquitto 這次我們透過docker來建立IOT傳輸用的MQTT Sever EMQX 步驟 建立一個新的folder，命名emqx 在emqx目錄底下，建立名為data資料夾，用來存放eqmx資料 在emqx目錄底下，建立docker-compose.yml docker-compose.yml 底下輸入 version: &amp;#39;3&amp;#39; services: emqx: image: emqx:5.0.20 container_name: emqx healthcheck: test: [&amp;#34;CMD&amp;#34;, &amp;#34;/opt/emqx/bin/emqx_ctl&amp;#34;, &amp;#34;status&amp;#34;] interval: 5s timeout: 25s retries: 5 ports: - 1883:1883 ## tcp - 8083:8083 ## websockeet - 8084:8084 ## websocket ssl - 8883:8883 ## ssl - 18083:18083 ## web volumes: - ./data:/opt/emqx/data 執行docker-compose up -d，即可啟動emqx 打開browser，在localhost:18083即可看到啟動好的emqx，如下圖 預設帳密為: admin/public 參考連結 EQMX </description>
    </item>
    
  </channel>
</rss>
