frigate: Don't store plaintext passwords in config

This commit is contained in:
Timo Makinen 2024-06-25 16:13:35 +00:00
parent 13e602a76d
commit acf2853223
4 changed files with 16 additions and 3 deletions

View file

@ -5,6 +5,7 @@ After=network-online.target
[Service]
User=frigate
EnvironmentFile=/etc/sysconfig/frigate-container
ExecStart=/usr/bin/podman run \
--rm -p 127.0.0.1:8007:5000 \
--name frigate \
@ -12,7 +13,7 @@ ExecStart=/usr/bin/podman run \
--volume /etc/frigate.yml:/config/config.yml:ro \
--volume /srv/frigate/media:/media/frigate:rw \
--volume /dev/bus/usb:/dev/bus/usb:rw \
ghcr.io/blakeblackshear/frigate:{{ frigate_version }}
--env=FRIGATE_* ghcr.io/blakeblackshear/frigate:{{ frigate_version }}
ExecStop=/usr/bin/podman stop --ignore frigate
ExecStopPost=/usr/bin/podman rm -f --ignore frigate