Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
parkpow
GitHub Repository: parkpow/deep-license-plate-recognition
Path: blob/master/webhooks/middleware/docker-compose.yml
1080 views
1
services:
2
stream:
3
image: platerecognizer/alpr-stream
4
container_name: stream
5
restart: unless-stopped
6
privileged: true
7
group_add:
8
- video
9
volumes:
10
- "/opt/stream:/user-data" # Adjust the path as needed for Stream working directory
11
environment:
12
#- LOGGING=30 # Uncomment if you want different logging level: 10 for debug, 20 for info, 30 for warning
13
- LICENSE_KEY=${STREAM_LICENSE_KEY} # Add the LICENSE_KEY from environment variable
14
- TOKEN=${STREAM_API_TOKEN} # Add the TOKEN from environment variable
15
16
middleware:
17
image: webhook-middleware
18
container_name: middleware
19
restart: unless-stopped
20
env_file: .env
21
ports:
22
- "8002:8002"
23
volumes:
24
# - ./dot_config.csv:/app/dot_config.csv:ro
25
# - "/opt/stream:/user-data" #uncomment this line if you use strip_plate protocol (Required)
26
- ./protocols/config:/app/protocols/config:ro # Required for front_rear protocol
27
28