Versions (branches)
- PHP 7.3 + NGINX + MYSQL (PERCONA) 8.0 (master)
- PHP 7.2 + APACHE + MYSQL (PERCONA) 5.7 (master)
- PHP 5.6 + NGINX + MYSQL 5.5 (php5.6)
- PHP 5.6 + APACHE + MYSQL 5.5 (php5.6-apache)
All versions include Composer + NodeJS
All versions now have SSL enabled by default
Usage instructions
- Install docker & docker-compose
- Open Terminal
- git clone https://github.com/acirulis/wd-webdev-auto.git
- cd wd-webdev-auto
- docker-compose up -d [or] docker-compose up [without -d to see log output]
- put your project under ./webroot folder
- configure apache or nginx vhost under ./sites-enabled
- Access MySQL database via HeidiSQL or MySQL Workbench tool (root:toor)
- Add your hostname (test.local.io) to hosts file (127.0.0.1 (linux/win10 pro) or [docker machine ip default] if using Virtualbox)
Extra notes
- Docker-compose.yml must contain main host IP address for XDebug to work on Linux
- Go under ./certs and install SSL certificate as locally trusted. Use cert-install-ubuntu-chrome.sh for Linux