HERE I CREATE A SERVER WITH THE HELP OF DOCKER. HERE I USE A DOCKER IMAGE OF DRUPAL AND FOR MAINTAINING DATABASE I USE MYSQL:5.7 IMAGE. HERE IF YOU ALSO WANT TO MAKE THIS SERVER. SO DO THE FOLLOWING STEPS.
- MAKE SURE YOU INSTALL DOCKER IN YOUR MACHINE.
- THEN DOWNLOAD DOCKER IMAGES - DRUPAL AND MYSQL:5.7
- THEN DOWNLOAD DOCKER-COMPOSE.
- THEN MAKE A FILE DOCKER-COMPOSE.YML AND PASTE THE CODE IN THIS FILE AND SAVE IT.
- THEN USE THIS COMMAND DOCKER-COMPOSE UP TO START THE SERVICES.