The Image is drupal 8.x and drupal 9.x ready to develop modules and themes.
472
docker-composeCreate a docker-compose.yml file in the root folder of project using this as a template:
app:
image: fabdelgado/drupal:latest
container_name: app
restart: always
volumes:
# modules
- $PWD/modules/:/var/www/html/drupal/web/modules/:rw
# themes
- $PWD/themes/:/var/www/html/drupal/web/themes/:rw
environment:
APACHE_DOCUMENT_ROOT: "/var/www/html/drupal/web"
Add this line to environment by using your domain.
VIRTUAL_HOST: "domain.com"
Content type
Image
Digest
Size
444.9 MB
Last updated
over 6 years ago
docker pull fabdelgado/drupal:9.0.2