Rename subnet to target to avoid confusion (#70)

This commit is contained in:
Brendan LE GLAUNEC
2017-05-09 08:15:50 +02:00
committed by Brendan Le Glaunec
parent 8c6c94cc34
commit 81b7e893dc
13 changed files with 41 additions and 37 deletions
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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