Skip to content

caddy job from caddy/0.6.0

Github source: c33730c or master branch

Properties

acme

ca

url

Default ACME-compatible Certificate Authority endpoint to request certificates from.

Default
https://acme-v02.api.letsencrypt.org/directory

email

Default ACME CA account email address.

caddyfile

The text file configuring how Caddy will run.

env

Environment variables to propagate to Caddy. Useful for configuring DNS solver.

Default
{}

grace

Maximum duration of graceful shutdown.

Default
5s

http_port

Default port to use for HTTP.

Default
80

https_port

Default port to use for HTTPS.

Default
443

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/caddy/ directory (learn more).

  • bin/control (from bin/control.erb)
  • bin/exec (from bin/exec.erb)
  • bin/pre-start (from bin/pre-start)
  • config/Caddyfile (from config/Caddyfile.erb)
  • config/gce_service_account_file.json (from config/gce_service_account_file.json.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.