Giter Club home page Giter Club logo

containerized-wordpress's Introduction

containerized-wordpress

Clone repository

Clone repo using https:

git clone https://github.com/francoislamiedepain/containerized-wordpress.git

Clone repo using ssh:

git clone [email protected]:francoislamiedepain/containerized-wordpress.git

Prerequisite

Install Docker

Install Docker Compose

Please follow official documentation: https://docs.docker.com/compose/install/#install-compose

Instructions

  • Change into cloned repository :
cd containerized-wordpress/

Build the project

Run docker-compose up in detached mode, it will pull the needed Docker images, and starts the wordpress/database containers.

 docker-compose up -d

You should now have 2 containers running on your machine:

francoishamy@fha containerized-wordpress (main) $ docker ps
CONTAINER ID   IMAGE             COMMAND                  CREATED          STATUS          PORTS                  NAMES
e58386435152   wordpress:5.7.2   "docker-entrypoint.s…"   53 minutes ago   Up 53 minutes   0.0.0.0:8000->80/tcp   containerized-wordpress_wordpress_1
df1123c8daa0   mysql:8.0         "docker-entrypoint.s…"   53 minutes ago   Up 53 minutes   3306/tcp, 33060/tcp    containerized-wordpress_db_1

In your browser, check wordpress running using 0.0.0.0:8000 (or 443 depends on your configuration).

Note

WordPress works only on ports 80 and/or 44. If you encounter about binding your IP adress to port, please check listening port on your machine.

francoishamy@fha containerized-wordpress (main) $ lsof -i -P -n

containerized-wordpress's People

Contributors

francoislamiedepain avatar

Watchers

 avatar

Forkers

salombo

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.