SETYO_BloggingSite = Set Up Your Own _BlogingSite
With this repo you can Automatically:-
- Pull images from DockerHub
- Create Docker volumes for permanent use.
- Set Up MySQl Database.
- Set up WordPress site.
Make sure you have the latest versions of Docker and Docker Compose installed on your machine.
If Not than run the following commands:-
For Docker installation on linux[Ubuntu Distro/Similar commands for other distro as well]
sudo apt-get update sudo apt-get remove docker docker-engine docker.io sudo apt install docker.io
After Docker installation Now install Docker Compose:-
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
After installation of the above files:-
sudo systemctl start docker sudo systemctl enable docker
Open a terminal and
cd to the folder in which
docker-compose.yml is saved and run:-
Hola!, Everything is Set now the containers are now built and running. You should be able to access the WordPress installation with the configured IP in the browser address by
http://192.168.xx.xx:8081.[Change it accordingly]
Here is an instance of my Blog site which I built using this repo:-
Fore more reference on docker-compose
Start the containers with the
up command in daemon mode (by adding
-d as an argument) or by using the
This is a simple project built with docker to setup an worpress building environment on any system