Giter Site home page Giter Site logo

sarath-pm / vagrant-dockercompose-lemp-wordpress Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 10 KB

Ready to use Wordpress + LEMP Docker conatiner with Vagrant.

License: The Unlicense

containers docker docker-compose lemp mysql nginx vagrant vagrantfile wordpress

vagrant-dockercompose-lemp-wordpress's Introduction

Vagrant + Docker-compose with LEMP & WordPress

Hello Everyone! I created a Docker-compose file with LEMP and WordPress as well as a VagrantFile that already has Docker and Docker-compose installed.

  • 3 Containers for LEMP-Wordpress (MySQL, WordPress+PHP-FPM, Nginx)
  • 2 Volumes (MySQL, WordPress)
  • 1 Network (wp-net)

If you are new to Docker check out the docker documentation for more information.

Requirements

You can checkout play with Docker which already has compose and docker installed. It is made of Alpine OS and has a terminal-like appearance. Since it is just used for educational purposes, you may use the 4 hours of the session without any additional installation.

Usage

I created two types of VagrantFile

  • VagrantFile ---> Ready to use VagrantFile with Wordpresss and LEMP containers deployed.
  • VagrantFile ---> Docker installed and configured. We need to manually configure the Docker.

For manually docker deployment, follow the instructions below:

Note: Ensure Docker is installed and configured before running this command.

git clone https://github.com/sarath-pm/Vagrant-DockerCompose-LEMP-Wordpress.git
cd Vagrant-DockerCompose-LEMP-Wordpress
docker-compose up -d  # Create containers, network & volume ("-d"  running container in detached mode)

please refer to this docker commands which you can see the installed container, network, volume details

docker-compose ps         # List Process status (Please note that this command only works with the installation directory)
docker network ls         # List Network
docker volume ls          # List volume
docker-compose down -v    # Remove all containers & volumes using these commands (Please note that this command only works with the installation directory)

Docker-Compose Command Cheat sheet

Docker Command Cheat Sheet

License

This project is unlicensed

Author

Sarath P M

Connect With Me

sarath-p-m  sarath_pm  sarath.pm@outlook.com  sarath_pm  19234611  sarath2375

vagrant-dockercompose-lemp-wordpress's People

Contributors

sarath-pm avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.