Skip to content

Commit 3ad0523

Browse files
Update README.md
1 parent 6d19128 commit 3ad0523

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ COPY local.apache.conf /usr/local/apache2/conf/local.apache.conf
279279
RUN echo "Include /usr/local/apache2/conf/local.apache.conf" \
280280
>> /usr/local/apache2/conf/httpd.conf
281281
```
282-
It downloads the apache image for the version defined in `.env` file. In our case, it's `2.4.41`. You can change it as per your requirements.
282+
It downloads the alpine-based apache image for the version defined in `.env` file. In our case, it's `2.4.41`. You can change it as per your requirements.
283283

284284
#### PHP Dockerfile
285285

@@ -378,10 +378,18 @@ It downloads the php image for the version defined in `.env` file. In our case,
378378
* ``docker system prune -a`` Delete all the docker images.
379379
* ``docker ps`` See all active containers.
380380

381+
## FAQ
382+
**Q:** Can we setup a Drupal 8 - Vanilla using this?
383+
384+
**A:** Yes, we can do that. Given we have separate containers for PHP, Apache and MySql so we can setup Vanilla Drupal 8 using composer so easily. Inside the PHP container, just run the below command and create/setup the database accordingly.
385+
```
386+
composer create-project drupal-composer/drupal-project:8.x-dev drupal --stability dev --no-interaction
387+
```
388+
More info - https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies
389+
381390
## References
382391
* https://hub.docker.com/r/wodby/drupal-php/dockerfile/
383392
* https://github.com/mzazon/php-apache-mysql-containerized
384393
* https://itnext.io/local-drupal-8-development-with-docker-ed25910cfce2
385394
* https://duvien.com/blog/using-docker-setup-test-environment-drupal-8-less-2-minutes
386395
* https://github.com/Lullabot/drupal-docker-boilerplate/blob/master/README.md
387-

0 commit comments

Comments
 (0)