Rename subnet to target to avoid confusion (#70)
This commit is contained in:
committed by
Brendan Le Glaunec
parent
8c6c94cc34
commit
81b7e893dc
@@ -6,7 +6,7 @@
|
||||
"password": "$MYSQL_ROOT_PASSWORD",
|
||||
"db_name": "cmrdr"
|
||||
},
|
||||
"subnets" : "$CAMERAS_SUBNETWORKS",
|
||||
"target" : "$CAMERAS_TARGET",
|
||||
"ports" : "$CAMERAS_PORTS",
|
||||
"rtsp_url_file" : "/cameradar/conf/url.json",
|
||||
"rtsp_ids_file" : "/cameradar/conf/ids.json",
|
||||
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
- "./cameradar_thumbnails:/tmp/thumbs"
|
||||
- ".:/tmp/shared"
|
||||
environment:
|
||||
- CAMERAS_SUBNETWORKS=localhost
|
||||
- CAMERAS_TARGET=localhost
|
||||
- CAMERAS_PORTS=554,8554
|
||||
- CACHE_MANAGER=dumb
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
|
||||
@@ -24,8 +24,8 @@ if [ "$CACHE_MANAGER" == "" ]; then
|
||||
export CACHE_MANAGER="dumb"
|
||||
fi
|
||||
|
||||
if [ "$CAMERAS_SUBNETWORKS" == "" ]; then
|
||||
export CAMERAS_SUBNETWORKS="0.0.0.0"
|
||||
if [ "$CAMERAS_TARGET" == "" ]; then
|
||||
export CAMERAS_TARGET="0.0.0.0"
|
||||
fi
|
||||
|
||||
if [ "$CAMERAS_PORTS" == "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user