Code Monkey home page Code Monkey logo

docker-project's Introduction

docker-project

Very delighted to complete my docker project after completion of free docker training under the Linux world informatics ltd initiative IIEC-RISE under the world record holder Mr Vimal Daga sir.

ABOUT THE PROJECT :- I had created a multi-tier Architecture to cope up with the real world problems that we face, the infrastructure consists use of Docker container which are so faster that it can install and give an interacting interface to user just in a second and thereby saving our time so in this project i created a webapp of my own 'collection of wallpapers'using the open source content management tool Joomla 3.9.16 ,linked mysql:5.7 as a database server and by using docker-compose made a multitier infrastructure as a code like PLUG AND PLAY as manually doing it couild have taken lots of time but by using docker-compose we can do it very fast.

Following are the steps required to get the complete setup ready:- step 1: I used basically two docker containers so we need to pull these images: 1.)mysql:5.7 and 2.)joomla:3.9.16-php7.3-apache these images can be pull using the command ->docker pull mysql:5.7 and ->docker pull joomla:3.9.16-php7.3-apache

step 2: Then we need to download docker-compose as it doesn't comes with linux by default.it can be downloaded from going to the website https://docs.docker.com/compose/install and following the required instructions.

After installing we need to create a file named docker-compose.yml which is a yaml code file consisting the codes to launch our complete infrastructure using docker-compose. Note-(always use file name as docker-compose) Docker-compose consists of many steps as we need to setup the a)volumes b)services c)environments d)restart and at last we need to specify the version of docker-compose we are using.
I have attached this yml file in my repository for the reference.

step 3:

Now we need to start our infrastructure and so we need to launch the docker-compose which can be done by initiating the following commands: 1.docker-compose up This single command does all the work on behalf of us and thereby creates the multi-tier infrastructure and by checking the IP address of our system by using the command>>ipconfig enp0s3 ,we can get the required IP and use that with the port number used during compose to browse our webapp which in my case opens a joomla platform which we can use according to our own choice and create our own website. Screenshot from 2020-04-29 03-13-52 Screenshot from 2020-04-29 03-18-57 Screenshot from 2020-04-29 03-28-28 Screenshot from 2020-04-29 03-37-36 Screenshot from 2020-04-29 05-00-27 Screenshot from 2020-04-29 05-18-58

                                                        THANK YOU

docker-project's People

Contributors

abhishek2019singh avatar

Watchers

 avatar

docker-project's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.