30 lines
880 B
YAML
30 lines
880 B
YAML
services:
|
|
# Use this variant when Frigate already exists and this bridge should be added
|
|
# next to it on the same Docker network.
|
|
camera-control:
|
|
image: frigate-camera-control-bridge:1.0
|
|
container_name: frigate-camera-control-bridge
|
|
restart: unless-stopped
|
|
env_file:
|
|
- camera-control.env
|
|
environment:
|
|
FRIGATE_NAME: frigate-main
|
|
# Set this to the Frigate container DNS name or another reachable URL.
|
|
FRIGATE_URL: http://frigate:5000
|
|
# Optional public Frigate GUI URL for stream links shown in the bridge GUI.
|
|
FRIGATE_PUBLIC_URL: ""
|
|
BASE_TOPIC: frigate_camera_control/frigate-main
|
|
ports:
|
|
- "5011:5011"
|
|
volumes:
|
|
- camera-control-state:/var/lib/frigate-camera-control-bridge
|
|
networks:
|
|
- frigate-network
|
|
|
|
volumes:
|
|
camera-control-state:
|
|
|
|
networks:
|
|
frigate-network:
|
|
external: true
|