/docker_nginx_php7_mysql

Docker with nginx, php7 (incl. composer) and mysql

Primary LanguageShell

Docker with nginx, php7 (incl. composer) and mysql

Purpose of this repo

Easy setup of basic dev box with nginx, php and mysql

The php container comes with composer

Just clone this repo and in your docker-toolbox run this command: $ sh up.sh.

When you run this command, the composer update will directly run

The data in the mysql container will persist in data/db

After running the initial command you should see the phpinfo() at the root of your docker ip (e.g. http://192.168.99.100)

Roadmap

  • add letsencrypt
  • php/mysql versions
  • more commands to run from the root of the project (e.g. composer update on php container)