Add HOST in postgresql connection in template