Skip to content

Instantly share code, notes, and snippets.

@driveton
driveton / Dockerfile
Created July 10, 2025 12:32 — forked from kjlape/Dockerfile
Self-Hosted Docker Registry with Kamal (as of version 2.2.2)
FROM registry:2

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