{ "schema_version": 2, "service": { "name": "example-site", "allowed_host": "example.test", "environment_file": "/etc/tend/environment/example-site.env" }, "build": { "package": "./cmd/site", "binary": "example-site", "branch": "main" }, "deployment": { "strategy": "singleton_candidate", "root": "/opt/example-site", "lock_file": "/run/lock/tend-deploy.lock", "state_file": "/opt/example-site/tend-state.json", "event_log": "/opt/example-site/deployment-events.jsonl", "health_path": "/healthz", "readiness_path": "/readyz", "candidate_timeout_seconds": 30, "activation_window_seconds": 10, "smoke": [{ "path": "/", "contains": "Example site" }], "public_smoke": [{ "url": "https://example.test/", "contains": "Example site" }], "singleton": { "unit": "example-site.service", "address": "127.0.0.1:8092", "candidate_address": "127.0.0.1:18092", "listen_env": "EXAMPLE_LISTEN", "current_link": "/opt/example-site/current", "previous_link": "/opt/example-site/previous", "caddy_config": "/etc/caddy/Caddyfile", "caddy_handler": "/etc/caddy/example-site-handler.caddy", "caddy_handler_template": "/etc/tend/caddy/example-site.template" } } }