Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 594 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 594 Bytes

Deployment example

You can start up an example environment using Docker Compose in this directory.

First, start the services:

docker compose up --build

This will start the proxy, and 4 instances of a simple web server. You can run proxy commands with docker compose exec proxy .... For example, to deploy the first web server as a new service:

docker compose exec proxy kamal-proxy deploy service1 --target example-web-1

And then access the proxy from a browser at http://localhost/.

Or, to list the currently deployed services:

docker compose exec proxy kamal-proxy ls