Drupal 9 local development using docker
Please follow the steps below to setup a local drupal 9 development environment.
Services
Apache / PHP 8.0 / MySQL 8.0 / phpMyAdmin
Get Started
- Download & unzip drupal.
- Download & install docker desktop.
- Download and unzip d9-docker.
- Copy d9-docker contents inside drupal folder.
Add local.app to /etc/hosts
127.0.0.1 local.app
# Build
docker-compose up --build --no-start --remove-orphans
# Start
docker-compose start
That's it, you can now access the site at https://local.app/
Database
Host: db / User: root / Password: password
phpMyAdmin
# List
docker ps
# Login
docker exec -it {{container-name}} /bin/bash
# Start
docker-compose start
# Stop
docker-compose stop
Web Application
Web application development based on your requirements.
CMS
Open Source CMS customisation based on your requirements.
Integration
Integration with 3rd party applications & services.