As I understand you only need to install Postgresql if you intend to host both Lemur and Postgresql on the same machine. (https://lemur.readthedocs.io/en/latest/quickstart/index.html#installing-build-dependencies) But in the docker-compose there is already a Postgresql server started. So why is this package needed at all in the web container?
I know this repo is currently "under maintenance" but I'm currently using this as a base for my own setup.