Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Drupal Docker Guide

Some basic commands to use drupal docker container

🐳 Docker-Hub

alt text

Running a sample

docker-compose up

To stop and remove all containers of the sample application run:

docker-compose down

To stop and remove all containers with Volume of the sample application run:

docker-compose down -v

🎓 Drupal Configuration

  1. Make Sure to modify the enviromental variable DRUPAL_TRUSTED_HOST to be configured according to your domain - Reference
DRUPAL_TRUSTED_HOST: '^rajawat\.com$'
  1. Before installation of drupal, you must have to create the extension pg_trgm using below command on your terminal
docker exec -it drupaldb psql -U postgres -c "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
GO

Author

👤 RajawatBanna