dever %!s(int64=5) %!d(string=hai) anos
pai
achega
e4a3c74705
Modificáronse 3 ficheiros con 5 adicións e 1 borrados
  1. 3 0
      src/docker/build/iot/emqx/Dockerfile
  2. 1 1
      src/docker/conf/iot.conf
  3. 1 0
      src/docker/core.conf

+ 3 - 0
src/docker/build/iot/emqx/Dockerfile

@@ -0,0 +1,3 @@
+FROM emqx:alpine
+
+MAINTAINER Rabin "https://github.com/shemic"

+ 1 - 1
src/docker/conf/iot.conf

@@ -2,7 +2,7 @@
 path = {base}
 
 [emq]
-image = emqtt
+image = emqx
 port = 1883:1883,7083:8083,8883:8883,8084:8084,18083:18083
 
 [influx]

+ 1 - 0
src/docker/core.conf

@@ -37,6 +37,7 @@ openresty			= web/openresty
 
 ;iot
 emqtt				= iot/emqtt
+emqx				= iot/emqx
 xinnongbaohe		= iot/xinnongbaohe
 nongxiaohe			= iot/nongxiaohe
 eros				= iot/eros