Browse Source

frigate: do not mount /etc/localtime

Fedora CoreOS has no /etc/localtime, and podman fails the start of the
container on a missing mount source (exit 125, "statfs /etc/localtime:
no such file or directory"). Frigate files its recordings by UTC date,
and its web interface shows the time zone of the browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PrUtBTGszYnsSBcxNKUTjF
main
Nicolas Massé 4 days ago
parent
commit
da015ea091
  1. 5
      cookbooks/frigate/frigate.container

5
cookbooks/frigate/frigate.container

@ -55,8 +55,9 @@ Tmpfs=/tmp/cache:rw,size=1g
Volume=/var/lib/virtiofs/data/frigate/config:/config:z Volume=/var/lib/virtiofs/data/frigate/config:/config:z
Volume=/var/lib/virtiofs/data/frigate/media:/media/frigate:z Volume=/var/lib/virtiofs/data/frigate/media:/media/frigate:z
# The recordings are named and the review timeline is drawn in local time. # No /etc/localtime: Fedora CoreOS has none (it runs in UTC), and podman fails
Volume=/etc/localtime:/etc/localtime:ro # the start on a missing mount source. Frigate files its recordings by UTC date
# and its web interface shows the time zone of the browser.
# Health check: the request of the image's own HEALTHCHECK, on the internal # Health check: the request of the image's own HEALTHCHECK, on the internal
# port, which the configuration file binds to the loopback. The image also skips # port, which the configuration file binds to the loopback. The image also skips

Loading…
Cancel
Save