add pg and rail 12factor