Skip to content

Latest commit

 

History

History

Assignment1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Docker-compose

Drupal-Postgres config

[node1] (local) [email protected] ~
$ mkdir ~/my_drupal/
[node1] (local) [email protected] ~
$ cd ~/my_drupal/
[node1] (local) [email protected] ~/my_drupal

Creating Docker-compose file

[node1] (local) [email protected] ~/my_drupal
$ vi docker-compose.yml

See the docker-compose.yml file here

Run the containers

[node1] (local) [email protected] ~/my_drupal
$ docker-compose up -d

Now goto port 8080 on the host ip and configure drupal

The drupal config looks like this