Environments

Every Caster site has a single production environment. Each site runs its own container with a unique URL.

Branch-to-Environment Mapping

Caster maps git branches to deployments automatically:

  • main → production deployment
  • All other branches are ignored

Scale-to-Zero

To save resources, sites that receive no traffic are automatically stopped after a period of inactivity. When a request comes in:

  1. The visitor sees a brief "waking up" loading page
  2. The container starts in a few seconds
  3. The page refreshes and serves your site normally

Subsequent requests are served immediately while the container is running. This happens transparently — you don't need to configure anything.

Site URLs

Every site gets automatic HTTPS with a certificate provisioned by Caddy:

  • Short ID URL: https://a3f9c2e8.caster.zip (always available)
  • Custom name URL: https://my-project.caster.zip (if you set a custom subdomain)

No DNS configuration is needed on your end — Caster handles DNS records and TLS certificates automatically.