2018-02-02 10:55:32 +03:00
|
|
|
#
|
|
|
|
# CONNECTION STRINGS
|
|
|
|
#
|
|
|
|
|
|
|
|
IOTHUB_CONNECTION_STRING=""
|
|
|
|
DEVICE_CONNECTION_STRING=""
|
|
|
|
|
|
|
|
#
|
|
|
|
# CONTAINER REGISTRY
|
|
|
|
#
|
|
|
|
# To host your modules
|
|
|
|
# "localhost:5000" - to use local registry
|
|
|
|
|
|
|
|
CONTAINER_REGISTRY_SERVER="localhost:5000"
|
2018-01-18 21:21:03 +03:00
|
|
|
CONTAINER_REGISTRY_USERNAME=""
|
|
|
|
CONTAINER_REGISTRY_PASSWORD=""
|
|
|
|
|
2018-02-02 10:55:32 +03:00
|
|
|
#
|
|
|
|
# HOST
|
|
|
|
#
|
|
|
|
|
|
|
|
RUNTIME_HOME_DIR="."
|
|
|
|
# Directory to host the Runtime generated files and certs
|
|
|
|
# "." - Auto detect, defaults to the following:
|
|
|
|
# "%PROGRAMDATA%\azure-iot-edge\data" - Windows
|
|
|
|
# "/var/lib/azure-iot-edge" - Linux
|
|
|
|
# "/var/lib/azure-iot-edge" - Mac
|
|
|
|
|
|
|
|
RUNTIME_CONFIG_DIR="."
|
|
|
|
# Directory to host the Runtime config files
|
|
|
|
# "." - Auto detect, defaults to the following:
|
|
|
|
# "%PROGRAMDATA%\azure-iot-edge\config" - Windows
|
|
|
|
# "/etc/azure-iot-edge" - Linux
|
|
|
|
# "/etc/azure-iot-edge" - Mac
|
|
|
|
|
|
|
|
RUNTIME_HOST_NAME="."
|
|
|
|
# "." - Auto detect
|
2018-01-18 21:21:03 +03:00
|
|
|
|
2018-02-02 10:55:32 +03:00
|
|
|
RUNTIME_TAG="1.0-preview"
|
2018-01-18 21:21:03 +03:00
|
|
|
|
2018-02-02 10:55:32 +03:00
|
|
|
RUNTIME_VERBOSITY="DEBUG"
|
|
|
|
# "DEBUG", "INFO", "ERROR", "WARNING"
|
2018-01-18 21:21:03 +03:00
|
|
|
|
2018-02-02 10:55:32 +03:00
|
|
|
#
|
|
|
|
# MODULES
|
|
|
|
#
|
2018-01-18 21:21:03 +03:00
|
|
|
|
|
|
|
ACTIVE_MODULES="*"
|
2018-02-02 10:55:32 +03:00
|
|
|
# "*" - to build all modules
|
|
|
|
# "filter-module, module1" - Comma delimited list of modules to build
|
2018-01-18 21:21:03 +03:00
|
|
|
|
|
|
|
ACTIVE_DOCKER_DIRS="linux-x64"
|
2018-02-02 10:55:32 +03:00
|
|
|
# "*" - to build all docker files
|
|
|
|
# "linux-x64,arm32v7" - Comma delimted list of docker files to build
|
2018-01-18 21:21:03 +03:00
|
|
|
|
|
|
|
CONTAINER_TAG="latest"
|
|
|
|
|
2018-02-02 10:55:32 +03:00
|
|
|
DOTNET_VERBOSITY="q"
|
|
|
|
# q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]
|
|
|
|
|
|
|
|
#
|
|
|
|
# PROJECT SETTINGS
|
|
|
|
#
|
|
|
|
|
|
|
|
MODULES_CONFIG_FILE=".config/deployment.json"
|
|
|
|
RUNTIME_CONFIG_FILE=".config/runtime.json"
|
2018-01-18 21:21:03 +03:00
|
|
|
LOGS_PATH="logs"
|
|
|
|
MODULES_PATH="modules"
|
|
|
|
IOT_REST_API_VERSION="2017-11-08-preview"
|
|
|
|
|
2018-02-02 10:55:32 +03:00
|
|
|
#
|
|
|
|
# DOCKER LOGS COMMAND
|
|
|
|
#
|
|
|
|
# Command used when calling iotedgedev docker --logs or --show-logs
|
2018-01-18 21:21:03 +03:00
|
|
|
|
|
|
|
LOGS_CMD="start /B start cmd.exe @cmd /k docker logs {0} -f"
|
2018-02-02 10:55:32 +03:00
|
|
|
# "start /B start cmd.exe @cmd /k docker logs {0} -f" - for CMD
|
|
|
|
# "docker logs {0} -f -new_console:sV" - for ConEmu
|
2018-01-18 21:21:03 +03:00
|
|
|
|
|
|
|
|