🦈🏠🐜 Initial Commit 🐜🦈🏠

This commit is contained in:
Jason Hempstead
2020-08-05 19:12:39 -04:00
commit d37f538dcc
32 changed files with 1098 additions and 0 deletions

14
nginx-php.sh Normal file
View File

@@ -0,0 +1,14 @@
#Lets setup the domain
DOM=
mkdir -p /var/lib/docker/storage/nginx/$DOM && chmod -Rf 777 /var/lib/docker/storage/nginx/$DOM
#Only allow local as we will use a proxy
docker run -d \
--restart always \
--name $DOM \
-v /var/lib/docker/storage/nginx/$DOM:/var/www/html \
-p 127.0.0.1:30000:80 \
-p 127.0.0.1:30050:443 \
-e 'WEBROOT=/var/www/html' \
-e 'DOMAIN=$DOM' \
richarvey/nginx-php-fpm