caddy
job
Usage
releases:
- name: "caddy"
version: "0.4.1"
instance_groups:
- name: "caddy"
jobs:
- name: "caddy"
release: "caddy"
properties: {}
Properties
The following properties can be configured for the job.
acme.ca.url
Default ACME-compatible Certificate Authority endpoint to request certificates from.
Default
https://acme-v02.api.letsencrypt.org/directory
acme.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
Runtime
Templates
The following templates are rendered and installed in /var/vcap/jobs/caddy
.
bin/control
(source)bin/exec
(source)bin/pre-start
(source)config/Caddyfile
(source)config/gce_service_account_file.json
(source)
Packages
The job depends on the following packages installed in /var/vcap/packages
.