I tried applying patches with
./run_all_patches.pl -u postgres -p postgres -h breedbase_docker_db -d vitisbase -e nickpalladino
on the postgres_dockerfile image and it failed due to not having the web_usr role defined. In the SQL for some of the patches it is doing things like:
grant select,insert,delete on table phenome.project_md_image to web_usr;
I created a web_usr role in the database manually and was able to get the patches to run. However, I'm not sure what the correct options should be for the role. Here is what I did:
CREATE ROLE web_usr NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT NOLOGIN;