← Graph

Hosting multiple pet projects on one droplet with Kamal

question 2 connections

Audience question: for pet/non-production projects with one user (yourself), can they all live on the same droplet, or do you need a separate droplet per app? Strzibny: yes, put them all on one VM. You set up the server once. Each project has its own Kamal configuration pointing at the same IP/server but with a different service name (and different port); Kamal Proxy routes traffic to the right app by hostname.

answer_summary
Yes. Setup the server once; give each project its own Kamal config with a different service name pointing at the same IP, and Kamal Proxy routes by hostname.
question Hosting multiple pet projects on one droplet with Kamal
about
Answer hinges on Kamal Proxy routing by hostname.
question Hosting multiple pet projects on one droplet with Kamal
asked_at
Q&A after the talk.

Provenance