How to deploy a Rails 7.1 app with Postgres and Kamal on a single server I think you have looked at the tutorial from Mr. Heinemeier Hansson at least once or twice and have a similar setup. rails new kamal_pg --css tailwind --skip-test --database=postgresql cd kamal_pg