Skip to content

Files

Latest commit

3cd2bd7 · Oct 22, 2021

History

History

wordpress

Usage

Create directory name called 'wordpress' and change into the directory

mkdir wordpress
cd wordpress

Download the wordpress YAML file and rename it as docker-compose.YAML

wget https://github.com/maheshkn400/DevOps/raw/master/Docker/wordpress/wordpress.yml
mv wordpress.yml docker-compose.yml

Run the following command to create and up the containers with detach mode

docker compose up -d

Check the containers with wordpress name two containers available with port 80 expose

docker ps

access the url http://(server name / ip)/ you will gat as follow.

wordpress installpage

And follow the WordPress instructions to install.

Down the containers

docker compose down

Up the containers with detach mode

docker compose up -d

I'm Happy To Get Suggestions 😄