3 DOCKER_SIM_NWNAME="nonrtric-docker-net"
4 echo "Creating docker network $DOCKER_SIM_NWNAME, if needed"
5 docker network ls| grep $DOCKER_SIM_NWNAME > /dev/null || docker network create $DOCKER_SIM_NWNAME
7 docker-compose -f docker-compose-template.yml config > docker-compose.yml
14 JSON_FILE="config.json"
16 curl -s -v http://127.0.0.1:${CONSUL_PORT}/v1/kv/${APP}?dc=dc1 -X PUT -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'X-Requested-With: XMLHttpRequest' --data-binary "@"$JSON_FILE