Refactor
All checks were successful
continuous-integration/drone Build is passing

* Implement multi queue pipelining
* Implement screenshot upload to S3
* Implement event insertion to Mongo
* Add SIGUSR1 handler to manually trigger screenshots
This commit is contained in:
2022-02-25 23:00:05 +02:00
committed by Lauri Võsandi
parent b903fca13d
commit a1699fa380
4 changed files with 296 additions and 92 deletions

View File

@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
python3-flask \
python3-pip \
&& apt-get clean
RUN pip3 install boto3 prometheus_client pymongo==3.12.2 aiohttp jpeg2dct sanic==21.6.2 sanic_prometheus motor
RUN pip3 install aioboto3 prometheus_client pymongo==3.12.2 aiohttp jpeg2dct sanic==21.6.2 sanic_prometheus motor
COPY camdetect.py /app
ENTRYPOINT /app/camdetect.py
EXPOSE 5000