Initial commit

This commit is contained in:
Fergal Moran
2018-08-09 21:06:00 +01:00
commit d9543ba414
15 changed files with 1037 additions and 0 deletions

22
test_start.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Set up your DOMAIN
if [ $# -eq 0 ]; then
echo "Please inform your domain name to test your proxy."
echo "./test_start.sh $1"
exit 1
else
DOMAIN=$1
fi
# Read your .env file
source .env
# Testing your proxy
if [ -z ${SERVICE_NETWORK+X} ]; then
docker run -e VIRTUAL_HOST=$DOMAIN --network=$NETWORK --name test-web httpd:alpine
else
docker run -e VIRTUAL_HOST=$DOMAIN --network=$SERVICE_NETWORK --name test-web httpd:alpine
fi
exit 0