-
Notifications
You must be signed in to change notification settings - Fork 117
Home
letwang edited this page Sep 17, 2019
·
30 revisions
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
2.Docker
git clone https://github.com/letwang/HookPHP.git && cd HookPHP &&
git pull && sudo docker run -itd -p 81:80 -p 82:8080 -p 3307:3306 -p 6380:6379 -p 27018:27017 -p 15673:15672 --name hookphp \
-v `pwd`/docker/mongodb/mongod.conf:/etc/mongod.conf \
-v `pwd`/docker/mysql/mysql.cnf:/etc/mysql/conf.d/mysql.cnf \
-v `pwd`/docker/nginx/nginx.conf:/etc/nginx/nginx.conf \
-v `pwd`/docker/nginx/conf.d:/etc/nginx/conf.d \
-v `pwd`/docker/php/7.3/cli/php.ini:/etc/php/7.3/cli/php.ini \
-v `pwd`/docker/php/7.3/fpm/php-fpm.conf:/etc/php/7.3/fpm/php-fpm.conf \
-v `pwd`/docker/php/7.3/fpm/php.ini:/etc/php/7.3/fpm/php.ini \
-v `pwd`/docker/php/7.3/fpm/pool.d:/etc/php/7.3/fpm/pool.d \
-v `pwd`/docker/redis/redis.conf:/etc/redis/redis.conf \
-v `pwd`/docker/log:/var/log \
-v `pwd`/../:/usr/share/nginx/html \
letwang/hookphp zsh && sudo docker exec -it hookphp zsh /usr/share/nginx/html/HookPHP/docker/init.sh
- http://www.admin.com:81
- http://www.iot.com:81
- http://www.paas.com:81
- http://www.payment.com:81
- http://www.store.com:81
account: admin@hookphp.com
password: 12345678
127.0.0.1
3307
root
123456
127.0.0.1
6380
123456
127.0.0.1
27018