Environments/images that run datacube dataset add .. should run datacube-ows-update and cubedash-gen --all after adding the datasets. Those environments need database access through SQLAlchemy/Psycopg, but since they don't run the web server it's only a drawback to have packages like Flask and Gunicorn installed (larger image, more packages with vulnerabilities, more dependencies that can conflict).
It would be nice to move dependencies like Flask in the datacube-ows package into a webserver optional that would be what you install for getting the web server.
Sibling ticket for Explorer: opendatacube/datacube-explorer#1100
Environments/images that run
datacube dataset add ..should rundatacube-ows-updateandcubedash-gen --allafter adding the datasets. Those environments need database access through SQLAlchemy/Psycopg, but since they don't run the web server it's only a drawback to have packages like Flask and Gunicorn installed (larger image, more packages with vulnerabilities, more dependencies that can conflict).It would be nice to move dependencies like Flask in the datacube-ows package into a
webserveroptional that would be what you install for getting the web server.Sibling ticket for Explorer: opendatacube/datacube-explorer#1100