Plotly Dash app to visualise and download NGIF sensor data
docker run -p 80:5000 --env MONGO_URI=mongodb://username:password@hostname:27017/database?authSource=admin --env GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000" --name ngif fmcclean/ngif
For HTTPS use:
docker run -d -p 443:5000 --env MONGO_URI=mongodb://username:password@hostname:27017/database?authSource=admin --env GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000 --certfile=/cert/cert.cer --keyfile=/cert/key.key" -v /home/user/cert:/cert --restart always --name ngif fmcclean/ngif
pip install -r requirements.txt
python -m unittest