Docker-compose.yml: services.frigate Additional property environment is not allowed

Hello, i am new here , running a docker on a virtuall debian12 on Proxmox, i have the error message: “Docker-compose.yml: services.frigate Additional property environment is not allowed”

version: “3.9”
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
volumes:
- ./config:/config
- ./storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- “8971:8971”
- “5000:5000” # Internal unauthenticated access. Expose carefully.
- “8554:8554” # RTSP feeds
- “8555:8555/tcp” # WebRTC over tcp
- “8555:8555/udp” # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: “password”

Please format your code like so:

```yml

services:
  frigate:
    ...

```

That way we can see the indentations, rather than guess where it may be failing (As, this may be related to the YAML syntax)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.