Fix entrypoint of most services
Setting .pgpass perms to 0400 prevent a container from being restarted
without being recreated (docker-compose restart fails), since the
echo xxx > .pgpass fails because the .pgpass already exists and is
read only.