Docker setup for postgres

also includes misc improvements to rearview/rails setup
Misc tweaks, still a WIP