Skip to content
Snippets Groups Projects
Pierre Ozoux's avatar
Pierre Ozoux authored
7f09f11c
Name Last commit Last update
..
Dockerfile
README.md
VOLUME
run-known.sh

Usage

PASS=`pwgen 20 1`
sudo docker pull debian:jessie
sudo docker build -t indiehosters/apache ../apache
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
echo Using $PASS as the database password. Waiting for everything to be up...
sleep 20
curl -I http://localhost/