forked from Github/frigate
remove gevent fixes #920
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -34,8 +34,7 @@ RUN pip3 wheel --wheel-dir=/wheels \
|
||||
matplotlib \
|
||||
click \
|
||||
setproctitle \
|
||||
peewee \
|
||||
gevent
|
||||
peewee
|
||||
|
||||
FROM scratch
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user