Skip to content

akhilesh-patel/Webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Create a blogging website

Use this repository to:-

  1. Pull the images form DockerHub.
  2. Create the volumes for permanent storage.
  3. Complete setup of MYSQL database.
  4. Get your own wordpress site.

Technology

  • Linux
  • Docker
  • Wordpress
  • Mysql

Requirements

-> Latest version of Docker.

-> latest version of Docker-compose.

Installation

-> Use below commands to install docker on linux (any distro)

sudo apt-get update

-> after installing docker, 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 installing both docker and docker-compose now execute this command

sudo systemctl status docker

-> As you can see the docker is inactive here. So, to start the docker services you have to first bring the docker in an active state and to do so use this commmand.

sudo systemctl start docker

-> Or to permanently activate your docker, use

sudo systemctl enable docker

About

This is a project, built mainly in docker that creates a wordpress blogging site.

How to Use

-> To create your own webapp follow the following steps Step 1 - Open a terminal Step 2 - cd (change directory) to the folder where docker-compose.yml file is saved. Step 3 - Execute the docker-compose.yml file.

docker-compose up 

✌️ Everything is set, volumes created, Containers launched, Database connected. Now, to access your wordpress site just go to your browser's address bar and enter the Configured_IP and port number http://192.--.--.--:8081 [Change it accordingly]

Stop Service

-> To stop the service, Stop containers

docker-compose stop

Start Service

-> To start the service again

docker-compose start

License

MIT

Author

Akhilesh Patel

About

Create a blogging site in just few minutes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published