I’m following this thread, https://stackoverflow.com/questions/20164466/what-would-be-a-good-docker-webdev-workflow, regarding a workflow for my webdev strategy. If I would to have separate docker images for MySQL, Apache, PHP, CMS (using Drupal), (1) how do I get my CMS (app files) to use the PHP container, access data in MySQL container, using Apache container to display the web site on my local development MacBookPro? For each of the images e.g. MySQL, Apache, PHP, and CMS, (2) do I also need to include a host OS in the Dockerfile image? For local development, (3) do I need to use volume or just point to my working directory?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Newbie: Correct workflow? | 1 | 904 | October 7, 2016 | |
I want to create a container using PHP, MySql and Apache images. I am new and unable to do that | 2 | 2737 | February 10, 2018 | |
Php web app need help | 0 | 399 | August 25, 2019 | |
Docker work flow and setup - can't get my head around it | 0 | 840 | August 24, 2017 | |
Multiple web apps with Docker architecture | 0 | 534 | October 19, 2018 |