#you mean this: -v /frigate/config.yml

1 messages · Page 1 of 1 (latest)

main compass
#

You should also move to using compose files

lyric mural
#

I will try to use compose files

#

how do I correct this?

#

I see in the sample compose file in Frigate its:

#

- /path/to/your/config:/config

azure daggerBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

main compass
#
- /frigate:/config
lyric mural
#

environment:
FRIGATE_RTSP_PASSWORD: "password"

#

what is this password?

#
services:
  frigate:
    container_name: frigate
    privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    image: ghcr.io/blakeblackshear/frigate:stable
    shm_size: "2048mb" # update for your cameras based on calculation above
    devices:
      - /dev/apex_0:/dev/apex_0
      - /dev/apex_1:/dev/apex_1
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /frigate:/config
      - /mnt/frigatedata:/media/frigate
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000"
      - "8554:8554" # RTSP feeds
      - "8555:8555/tcp" # WebRTC over tcp
      - "8555:8555/udp" # WebRTC over udp```
#

is this docker compose file correct?

main compass
#

You can skip that if you don't use it

#

And remember to fix the ability to write to /mnt/frigate

lyric mural
#

yes I will need to check out how to enable the write on my TrueNas Scale NAS