remove gevent fixes #920

This commit is contained in:
Blake Blackshear
2021-06-14 07:31:13 -05:00
parent bbe3f07ec6
commit cbdf2c2c71
6 changed files with 122 additions and 117 deletions

View File

@@ -38,9 +38,6 @@ RUN pip3 install \
peewee_migrate \
zeroconf \
voluptuous\
Flask-Sockets \
gevent \
gevent-websocket \
ws4py
COPY --from=nginx /usr/local/nginx/ /usr/local/nginx/

View File

@@ -34,8 +34,7 @@ RUN pip3 wheel --wheel-dir=/wheels \
matplotlib \
click \
setproctitle \
peewee \
gevent
peewee
FROM scratch

View File

@@ -33,6 +33,11 @@ http {
keepalive 1024;
}
upstream mqtt_ws {
server localhost:5002;
keepalive 1024;
}
upstream jsmpeg {
server localhost:8082;
keepalive 1024;
@@ -139,7 +144,7 @@ http {
}
location /ws {
proxy_pass http://frigate_api/ws;
proxy_pass http://mqtt_ws/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";