Commit 260714e0 authored by Michiel de Jong's avatar Michiel de Jong

wait 20 seconds for server to be up

parent 2f470085
......@@ -6,5 +6,6 @@ sudo docker build -t indiehosters/lamp ../lamp
sudo docker build -t indiehosters/known .
sudo docker run -d -e MYSQL_PASS=$PASS --name mysql indiehosters/mysql
sudo docker run -d -p 80:80 --link mysql:db -e DB_PASS=$PASS indiehosters/known
sleep 10
echo Using $PASS as the database password. Waiting for everything to be up...
sleep 20
curl -I http://localhost/
......@@ -10,5 +10,6 @@ sudo docker build -t indiehosters/lamp ../lamp
sudo docker build -t indiehosters/owncloud .
sudo docker run -d -e MYSQL_PASS=$PASS --name mysql indiehosters/mysql
sudo docker run -d -p 80:80 --link mysql:db -e DB_PASS=$PASS indiehosters/owncloud
sleep 10
echo Using $PASS as the database password. Waiting for everything to be up...
sleep 20
curl -I http://localhost/
......@@ -6,5 +6,6 @@ sudo docker build -t indiehosters/lamp ../lamp
sudo docker build -t indiehosters/wordpress .
sudo docker run -d -e MYSQL_PASS=$PASS --name mysql indiehosters/mysql
sudo docker run -d -p 80:80 --link mysql:db -e DB_PASS=$PASS indiehosters/wordpress
sleep 10
echo Using $PASS as the database password. Waiting for everything to be up...
sleep 20
curl -I http://localhost/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment