🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay
2023-02-23 23:38:31 -05:00
parent b10c2c4167
commit f60b5e55e5
63 changed files with 437 additions and 384 deletions

16
scripts/nginx-php.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Lets setup the domain
DOM=${1:-$HOSTNAME}
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