kilbot / WooCommerce-Dev-Docker

Development environment for WooCommerce
5 stars 8 forks source link

Convert base setup to php 5.6 & Mysql 5.6 #4

Open thomasmery opened 7 years ago

thomasmery commented 7 years ago

The base setup will cover most development needs and should use the most common versions as the default: PHP56 + MYSQL56.

kilbot commented 7 years ago

Hi @thomasmery, I've made some changes to the Docker setup. For the PHP integration tests to work there needs to be a consistent site url for Wordpress, aliases for Docker and hosts for the operating system. This makes different URLs for different projects a little tricky.

At the moment the Docker Dev environment should work fine for the default case: PHP 5.6 + MySQL 5.7 with access via php56.local. (Note: MySQL 5.7 was used because I couldn't get 5.6 to automatically populate the tax rates).

Using this setup you can only run one project and one version of PHP at a time. ie: npm run stop:php56 before starting the new containers.