Add networking options for configuring listening ports

- Handle both internal (unauth) an external (auth) ports
    - Allow specifying binding IP in `ip:port` format
- Simplify the templating for `listen.gotmpl` and `base_path.gotmpl`
    - Combine nginx settings getters into a single script `get_nginx_settings.py`
- Replace port constants `5000` and `8971` in code with values from config
- Update `Network Configuration` section in the advanced documentation

Provides a solution for discussion #17761
This commit is contained in:
Eric Work
2026-01-26 22:47:02 -08:00
parent 5fdb56a106
commit fdafdd1471
18 changed files with 181 additions and 131 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ push: push-boards
--push
run: local
docker run --rm --publish=5000:5000 --volume=${PWD}/config:/config frigate:latest
docker run --rm --publish=5000:5000 --publish=8971:8971 \
--volume=${PWD}/config:/config frigate:latest
run_tests: local
docker run --rm --workdir=/opt/frigate --entrypoint= frigate:latest \