Add PGPORT and PGHOST for testing and template app