Just one command to build all env for the easy-php
Please install the docker & npm & yarn first!
curl -sL https://raw.githubusercontent.com/easy-framework/easy-env/master/bin/init.sh | bash && source ~/.profile
Usage:
easy init/start/restart/stop/destroy/login
Example:
easy init
easy start
easy restart
easy stop
easy destroy
easy login <php/redis/nginx/mysql/mongo>
βββ README.md
βββ _config.yml
βββ bin
βΒ Β βββ easy
βΒ Β βββ scripts
βΒ Β βββ destroy.sh
βΒ Β βββ init.sh
βΒ Β βββ login.sh
βΒ Β βββ restart.sh
βΒ Β βββ start.sh
βΒ Β βββ stop.sh
βββ composer.json
βββ configs
βΒ Β βββ xhgui
βΒ Β βββ config.default.php
βββ docker-compose.yaml
βββ mongo
βΒ Β βββ Dockerfile
βββ mysql
βΒ Β βββ Dockerfile
βββ nginx
βΒ Β βββ Dockerfile
βΒ Β βββ conf
βΒ Β βββ conf.d
βΒ Β βββ nginx.conf
βββ php
βΒ Β βββ Dockerfile
βΒ Β βββ conf
βΒ Β βΒ Β βββ conf.d
βΒ Β βΒ Β βββ php-fpm.conf
βΒ Β βΒ Β βββ php-fpm.d
βΒ Β βΒ Β βββ php.ini
βΒ Β βββ extensions
βΒ Β βββ no-debug-non-zts-20170718
βββ redis
βΒ Β βββ Dockerfile
βββ runtime
βΒ Β βββ logs
βΒ Β βββ mongo
βΒ Β βββ nginx
βΒ Β βββ php
βΒ Β βββ redis
βββ www
Yeah, That's so cool. I enjoy the feeling when I only need to execute one command, As the same time, my project and development enviorment, etc. all is ready. What's more, the project is opened in the windows by the command. Meanwhile, xhgui is support.
REPOSITORY TAG IMAGE ID CREATED SIZE
mongo 3.6-jessie ceee4d1620d4 4 days ago 368MB
php 7.2.7-fpm-alpine3.6 39b42adef50e 3 weeks ago 79.9MB
mysql 5.7 66bc0f66b7af 3 weeks ago 372MB
redis 4-alpine caaeda72bf8f 5 weeks ago 27.8MB
nginx 1.15-alpine bc7fdec94612 6 weeks ago 18MB