Drupal
Follow these instructions while editing the provided docker-compose.yml
:
-
Add a service named
drupal
. -
Use the image,
drupal
. Itβs version should be8-apache
. -
Specify
drupal
as the name of the container. -
Map
drupal
's default port80
to80
.π Make sure to use the same container name and port as required, otherwise, the launching of the application can be affected.
-
Add the following volumes:
/var/www/html/modules /var/www/html/profiles /var/www/html/themes /var/www/html/sites
-
Enable the
restart
option toalways
.
Get hands-on with 1400+ tech skills courses.