Frigate + API Key Installation [Config Support]: #22156
Replies: 2 comments 4 replies
-
|
The issue is that you're setting the API key in the wrong location. The Frigate+ API key must be set as an environment variable named Your Docker Compose file should include the environment variable like this: services:
frigate:
environment:
PLUS_API_KEY: "your_actual_api_key_here"Alternatively, you can use this format: services:
frigate:
environment:
- PLUS_API_KEY=your_actual_api_key_hereAfter adding the Important notes:
Once you've added the environment variable correctly and run 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
I added everything like described into the docker-config.yml. GNU nano 8.4 docker-compose.yml services:
frigate:
container_name: frigate
restart: unless-stopped
stop_grace_period: 30s
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "240m"
environment:
-PLUS_API_KEY: "Inserted Key Here"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
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"
- "8554:8554" # RTSP feeds
- "5000:5000"
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:2
restart: unless-stopped
ports:
- "1883:1883"
- "9001:9001"I then saved and did the docker compose up -d then restarted Frigate and the Frigate Plus is still not enabled. What am I missing? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I subscribed to Frigate + and downloaded the api key. I tried installing the api key in the docker-compose.yml file and saved. I restarted Frigate however when I look in Frigate for the Frigate + it still shows API key not detected or not valid. Under environment I added PLUS_API_KEY: api key added here to the docker-compose.yml when I did this. I tried with and without quotes. Not sure what I am doing wrong.
Version
0.16.3
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
docker-compose file or Docker CLI command
N/AObject Detector
OpenVino
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions