Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.08 KB

WD Web development docker images

Versions (branches)

  1. PHP 7.3 + NGINX + MYSQL (PERCONA) 8.0 (master)
  2. PHP 7.2 + APACHE + MYSQL (PERCONA) 5.7 (master)
  3. PHP 5.6 + NGINX + MYSQL 5.5 (php5.6)
  4. 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

  1. Install docker & docker-compose
  2. Open Terminal
  3. git clone https://github.com/acirulis/wd-webdev-auto.git
  4. cd wd-webdev-auto
  5. docker-compose up -d [or] docker-compose up [without -d to see log output]
  6. put your project under ./webroot folder
  7. configure apache or nginx vhost under ./sites-enabled
  8. Access MySQL database via HeidiSQL or MySQL Workbench tool (root:toor)
  9. 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

  1. Docker-compose.yml must contain main host IP address for XDebug to work on Linux
  2. Go under ./certs and install SSL certificate as locally trusted. Use cert-install-ubuntu-chrome.sh for Linux