Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frigate auth (basic HTTP authentication maybe?) #12

Open
geerlingguy opened this issue Jan 17, 2024 · 0 comments
Open

Frigate auth (basic HTTP authentication maybe?) #12

geerlingguy opened this issue Jan 17, 2024 · 0 comments

Comments

@geerlingguy
Copy link
Owner

It looks like Frigate intentionally doesn't provide any authentication method (see: blakeblackshear/frigate#1074).

Probably the simplest implementation would be to add either traefik or nginx as a tiny reverse-proxy in front of frigate in the docker-compose.yml with a basic user:pass pair, and then have port 80 exposed there, punching through to port 5000 on frigate.

The frigate instance could expose port 5000 only to the traefik/nginx container, then.

Haven't looked into Home Assistant support for this—hopefully whatever connector there is, it supports HTTP basic auth.

For traefik, see: blakeblackshear/frigate#1726 (comment)

And the official docs mention Apache2/Nginx configs (but don't suggest how to implement them through Docker/Compose easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant