about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-21 11:33:47 +0200
committerEmile <hanemile@protonmail.com>2019-10-21 11:33:47 +0200
commitf436703ce802d505486a9c2550c00ab06be200bd (patch)
tree879489ba580c04ae0dd621ae4d5e30207c49f75d
parent55eb73e55f522409d7ee03f09fc7a32ef5e401c0 (diff)
pulling docker images
-rwxr-xr-xsetup.sh9
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