Path: blob/master/webhooks/middleware/docker-compose.yml
1080 views
services:1stream:2image: platerecognizer/alpr-stream3container_name: stream4restart: unless-stopped5privileged: true6group_add:7- video8volumes:9- "/opt/stream:/user-data" # Adjust the path as needed for Stream working directory10environment:11#- LOGGING=30 # Uncomment if you want different logging level: 10 for debug, 20 for info, 30 for warning12- LICENSE_KEY=${STREAM_LICENSE_KEY} # Add the LICENSE_KEY from environment variable13- TOKEN=${STREAM_API_TOKEN} # Add the TOKEN from environment variable1415middleware:16image: webhook-middleware17container_name: middleware18restart: unless-stopped19env_file: .env20ports:21- "8002:8002"22volumes:23# - ./dot_config.csv:/app/dot_config.csv:ro24# - "/opt/stream:/user-data" #uncomment this line if you use strip_plate protocol (Required)25- ./protocols/config:/app/protocols/config:ro # Required for front_rear protocol262728