-
Notifications
You must be signed in to change notification settings - Fork 117
Home
letwang edited this page Jun 7, 2022
·
30 revisions
sudo tee -a /etc/hosts <<EOF
127.0.0.1 www.admin.com
127.0.0.1 www.iot.com
127.0.0.1 www.paas.com
127.0.0.1 www.payment.com
127.0.0.1 www.store.com
EOF
git clone [email protected]:letwang/HookPHP.git && cd HookPHP && git pull
sudo docker run -itd -p 81:80 -p 3307:3306 -p 6380:6379 -p 27018:27017 -p 15673:15672 -p 9002:9001 --name hookphp \
-v `pwd`/../:/usr/local/openresty/nginx/html/wwwroot \
-v `pwd`/:/usr/local/openresty/nginx/html/HookPHP \
letwang/hookphp bash && sudo docker exec -it hookphp bash -c "cd /usr/local/openresty/nginx/html/HookPHP/ && sh Start"
sudo docker run -itd -p 81:80 -p 3307:3306 -p 6380:6379 -p 27018:27017 -p 15673:15672 -p 9002:9001 --name hookphp \
-v `pwd`/../:/usr/local/openresty/nginx/html/wwwroot \
-v `pwd`/:/usr/local/openresty/nginx/html/HookPHP \
ubuntu:20.04 bash && sudo docker exec -it hookphp bash /usr/local/openresty/nginx/html/HookPHP/Dockerfile
- https://www.admin.com:81
- https://www.iot.com:81
- https://www.paas.com:81
- https://www.payment.com:81
- https://www.store.com:81
[email protected]
12345678
127.0.0.1
3306/3307
root
123456
127.0.0.1
6379/6380
123456
127.0.0.1
27017/27018
admin
123456