Compare commits

..

No commits in common. "1bafb844f26260642f9555e338433b9bd016d35d" and "457a57739ab8542401389ddfbed0723f515667b0" have entirely different histories.

2 changed files with 2 additions and 24 deletions

View File

@ -24,21 +24,6 @@ python3 -m pip install -r requirements.txt
cp .env.example .env
chmod +x wp.sh tlsa.sh
# Add proxy to docker
mkdir ~/.docker
echo """{
\"proxies\": {
\"default\": {
\"httpProxy\": \"http://proxy.hnsproxy.au:80\",
\"httpsProxy\": \"https://proxy.hnsproxy.au:443\",
\"noProxy\": \"localhost\"
}
}
}""" > ~/.docker/config.json
# Restart docker
sudo systemctl restart docker
# Pull docker images to save time later
docker pull mysql:5.7 &
docker pull wordpress:latest &

View File

@ -56,16 +56,9 @@ services:
WORDPRESS_DB_PASSWORD: $MYSQL_PASSWORD
WORDPRESS_DB_NAME: WordPressDatabase
volumes:
- data:/var/www/html
[\"./:/var/www/html\"]
volumes:
mysql:
data:
driver: local
driver_opts:
o: "size=5g,uid=1000"
device: tmpfs
type: tmpfs
mysql: {}
""" > docker-compose.yml
# Start the containers