mirror of
https://github.com/easychen/pushdeer.git
synced 2025-02-23 00:14:56 +08:00
mqtt服务器支持ws协议
This commit is contained in:
parent
b39c92c42d
commit
b97cb44a14
@ -1,5 +1,7 @@
|
|||||||
FROM node:16-alpine3.15
|
FROM node:16-alpine3.15
|
||||||
|
|
||||||
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
|
RUN sed -i 's/dl-4.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
RUN apk --no-cache add mosquitto mosquitto-clients
|
RUN apk --no-cache add mosquitto mosquitto-clients
|
||||||
RUN npm install -g forever
|
RUN npm install -g forever
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
listener 1883
|
listener 1883
|
||||||
|
listener 9001
|
||||||
|
protocol websockets
|
||||||
allow_anonymous false
|
allow_anonymous false
|
||||||
log_dest stdout
|
log_dest stdout
|
||||||
password_file /mospass.txt
|
password_file /mospass.txt
|
Loading…
x
Reference in New Issue
Block a user