Giter Club home page Giter Club logo

docker-wordpress-mysql-phpmyadmin's Introduction

Wordpress & MySQL & PHPMyAdmin running on docker with docker-rsync

This is a tiny ready to go boilerplate for a wordpress website running with Docker.

It uses the following libraries:

Access your page under http://0.0.0.0:8000 after installation.

INSTALL

1. Install Docker

Please install Docker: https://docs.docker.com/engine/installation/

Make sure that your current development workplace folder is available for mounting. Check this in your Docker Settings.

2. Clone repository

Clone the repository from Bitbucket and go into the project folder.

$ git clone [email protected]:zauberware/docker-wordpress-mysql-phpmyadmin.git

Like you see there is only the wp-content folder of wordpress and few Docker files. So we use Docker to run our website for development and we are syncing the wp-content folder to the wp-content folder on the Docker instance.

3. Install Docker-rsync

$ gem install docker-sync

Run the syncer before starting docker containers

$ docker-sync start

To stop or clean the syncer

$ docker-sync stop
$ docker-sync clean

4. Install Docker & project setup

Open new terminal window.

  1. Start docker in the docker desktop App
  2. run docker-compose up
  3. wait for installation and check your running containers with docker ps. You should see wordpress, mysql and phpadmin as a container.

Page available: http://0.0.0.0:8000/ PHPMyAdmin available: http://0.0.0.0:8080/

Shut down your containers with

$ docker-compose down

Different Setup ??

This is just a starter template. If you want to learn more about Docker templates you should visit https://docs.docker.com/develop/ . We can also recommend this repository: https://github.com/webdevops/php-docker-boilerplate

Authors

  • Simon Franzen (zauberware technologies)
  • Lisa Schmitz (zauberware technologies)

zauberware technologies

docker-wordpress-mysql-phpmyadmin's People

Contributors

simonfranzen 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.