- docker
- docker compose
- nvidia-docker (if not for test)
docker compose -f build.yml build
docker compose up
Build light detector
docker compose -f build.test.yml build
run full service (with light detector)
docker compose -f test.yml up --build
run single lightest (with light detector)
docker compose -f test.light.yml build
docker compose -f test.light.yml run test_light
run single fulltest (with detector)
docker compose -f test.light.yml build
docker compose -f test.light.yml run test_light
-
If you use
sudo
, you should changeSTORE_PATH=${PWD}/store
to abs path dirstore
of this project, because ${PWD} in sudo mode don't return this path. -
If you want access to web over you local network, you shoud set up var API_HOST to your local adress (e.g '192.168.1.5'). you can do it with:
export API_HOST=$(hostname -I | cut -d' ' -f1)
- Default test rtsp avalible on rtsp://localhost:8554/stream