feature: Containers
This commit is contained in:
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
people-counter:
|
||||
build: .
|
||||
ports:
|
||||
- "5000:5000"
|
||||
devices:
|
||||
- "/dev/video0:/dev/video0"
|
||||
restart: unless-stopped
|
||||
# Privileged mode helps with accessing hardware devices if standard mapping fails
|
||||
privileged: true
|
||||
environment:
|
||||
- FLASK_ENV=production
|
||||
Reference in New Issue
Block a user