YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
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 | ||||
YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 6 | docker-compose -f consul_cbs/docker-compose-template.yml config > docker-compose.yml |
7 | |||||
8 | docker-compose up -d |