wip: app/frigate: Deploy Caddy
Running Caddy in front of Frigate to provide HTTPS and authentication.
This commit is contained in:
11
env/prod/frigate.cue
vendored
11
env/prod/frigate.cue
vendored
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user