Update to reflect changes for user directory
All checks were successful
Cloud Apache Container / Build-and-Push (push) Successful in 41s

This commit is contained in:
jknapp 2024-10-14 17:28:24 +00:00
parent 715b998404
commit ed9ba0118b

View File

@ -15,8 +15,8 @@ __You can then run a development version of the server by running the following
```console
mkdir -p local-development/domain.tld
cd local-development/domain.tld
mkdir {web,db,logs}
docker run -d -it -p 80:80 -p 443:443 -e PHPVER=81 -e environment=DEV --mount type=bind,source="$(pwd)"/web,target=/home/myuser/public_html --mount type=bind,source="$(pwd)"/db,target=/var/lib/mysql --mount type=bind,source="$(pwd)"/logs,target=/home/myuser/logs -e uid=30001 -e user=myuser -e domain=domain.tld -e serveralias=www.domain.tld --name local-dev repo.anhonesthost.net/cloud-hosting-platform/cac:latest
mkdir {user,db,logs}
docker run -d -it -p 80:80 -p 443:443 -e PHPVER=81 -e environment=DEV --mount type=bind,source="$(pwd)"/user,target=/home/myuser --mount type=bind,source="$(pwd)"/db,target=/var/lib/mysql -e uid=30001 -e user=myuser -e domain=domain.tld -e serveralias=www.domain.tld --name local-dev repo.anhonesthost.net/cloud-hosting-platform/cac:latest
```
*This will start the processes needed to run sites locally.*