diff options
-rwxr-xr-x | setup.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh index 1f604e5..a88be68 100755 --- a/setup.sh +++ b/setup.sh @@ -40,6 +40,12 @@ read -e -p "Grafana admin pwd: " -i "secret" GF_SECURITY_ADMIN_PASSWORD echo "GF_SERVER_ROOT_URL=$GF_SERVER_ROOT_URL" > grafana.env echo "GF_SECURITY_ADMIN_PASSWORD=$GF_SECURITY_ADMIN_PASSWORD" >> grafana.env +# pull some docker images needed from the darknebu.la registry such as the +# companion container and the vpn container +echo "Pulling docker images needed..." +docker pull registry.darknebu.la/circus/companion:latest +docker pull registry.darknebu.la/circus/vpn:latest + # Ask if the circus should be started read -p "Do you want to start the circus now? (y/n) " -n 1 -r echo # (optional) move to a new line @@ -47,5 +53,6 @@ if [[ ! $REPLY =~ ^[Yy]$ ]] then exit 1 fi + # start the docker-compose -docker-compose up -d +docker-compose -f $(pwd)/docker-compose.yml up -d |