wip: app/frigate: Deploy Caddy

Running Caddy in front of Frigate to provide HTTPS and authentication.
This commit is contained in:
2024-04-05 21:08:39 -05:00
parent ee66e9ea18
commit 41251a52cd
5 changed files with 54 additions and 1 deletions

11
env/prod/frigate.cue vendored
View File

@@ -274,11 +274,22 @@ _frigate: config: cameras: {
}
}
_frigate: caddy: {
server_name: "frigate.pyrocufflink.blue"
forward_auth: {
url: "https://auth.pyrocufflink.blue"
}
acme: {
email: "frigate@pyrocufflink.blue"
}
}
let Marshal = yaml.Marshal
frigate: {
env: _frigate.env
config: _frigate.config
caddy: _frigate.caddy
yaml: Marshal(config)
}