basecamp / kamal

Deploy web apps anywhere.
https://kamal-deploy.org
MIT License
11.62k stars 464 forks source link

Is it possible to host multiple site per machine? #494

Closed vldmr-k closed 1 year ago

vldmr-k commented 1 year ago

Hi everyone. Traefik can manage multiple docker container per machine. But, how it manage via kamal.

For exampel I have two webapps, site-a.com and site-b.com, all of them has own config/deplog.yml file with treafik: sections, and I want to deploy theese apps to node1

When I deployed site-a.com. Kamal configurated and deployed traefik. After that I want to deploy site-b.com.

And, what kamal do with configurated treafik from deploy.yml of site-a.com?

meglio commented 1 year ago

The "configuration" documentation shows examples of how to do it: https://kamal-deploy.org/docs/configuration

Search for "multiple" in the page.

image
vldmr-k commented 1 year ago

@meglio thanks, will try

matoakley commented 5 months ago

For anyone reaching this page looking for the answer, the page linked by @meglio above has moved to https://kamal-deploy.org/docs/configuration/container-labels/