I don’t think the database files are inside the container, so postgresql is likely to be missing the discourse database if not the entire set of database files.
A restore should fix it, as standard postgresql restore should create the discourse database. (But if that fails, try creating the database then do a restore.)