Caddy Single VM
The caddy-single-vm template creates one Ubuntu VM and provisions Caddy with a small static site.
Create The Project
Inspect the template files:
Start The VM
Yeast installs Caddy, copies the site files, installs the Caddyfile, enables Caddy, and restarts the service.
Verify Inside The VM
Expected service output:
Rerun Provisioning
If you edit site/index.html or site/Caddyfile, rerun provisioning:
Then verify again:
Clean Up
What This Template Demonstrates
- top-level provisioning
- package installation
- file copy into the guest
- shell commands with
sudo - service verification through
yeast exec