Using the docker_dev you can’t make a backup from the web interface or from within the container using
./script/discourse backup. Both fail due to postgres permissions issues. This makes using the container to do an import problematic.
What I’ve been doing is editing
/etc/postgresql/9.5/main/pg_hba.conf and changing the connections from “peer” to “trust”, like this:
local all postgres trust local all all trust
And then restarting the container, as I’ve yet to figure out how to restart postgres from within it.
This likely isn’t the best solution to this problem, and I don’t even know where to look to fix it if I did.
And while I’m complaining, it would be nice if the container included