Docker WordPress MySQL phpMyAdmin stack


Start WordPress in docker with only 2 commands

 


You need to have docker and docker compose installed.
If you don't have them, see here first.

$ git clone git@github.com:SpiralOutDotEu/docker-wordpress.git   
$ cd docker-wordpress && docker-compose up 
 
You are ready!
Go to 0.0.0.0:8000 and start building your WordPress site.
Go to 0.0.0.0:8081 and play with PhpMyAdmin.
You credentials for phpMyAdmin is what you declared in docker-compose.yml
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
If you want to manually edit your files, first you have to change the permisions to html folder:
$ sudo chmod -R 777 html

You want to move or share your project?
Just share the entire folder. It has the source code in html folder and the full database with it in  mysql folder.


Have fun!

9 comments:

  1. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
    wp membership plugin

    ReplyDelete
  2. If you had trouble installing, just back track to make sure you did everything right (and make sure you uploaded to the right folders!)
    wordpress maintenance plans

    ReplyDelete
  3. Nice to read your article! I am looking forward to sharing your adventures and experiences. TMDHosting review

    ReplyDelete
  4. Then again, in the event that you as of now have a web facilitating plan that supports PHP and MySQL, you can introduce your own WordPress on your server. neuronto deepl wordpress plugin

    ReplyDelete
  5. This is an awesome post.Really very informative and creative contents.
    Wordpress Development company in Chennai

    ReplyDelete
  6. Amazingly accommodating post. This is my first time i visit here. I found such an extensive number of captivating stuff in your blog especially its trade. Genuinely its unprecedented article. Keep it up. site speed

    ReplyDelete
  7. Great, i must say and thanks for sharing this informative post.I am really impressed that there is so much information about this subject that have been uncovered and you’ve done your best, MyAssignmenthelp.co.uk is giving help to students who is stressed with their assignment,dissertation help and submit their assignment on time.we are already trusted by thousands of students who struggle to write their academic papers and also by those students who simply want Math Homework Writing Services to save their time and make life easy

    ReplyDelete
  8. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. bedsheet online purchase , queen bed comforter set , jersey bed sheets queen , fancy double bed sheet , rose gold bed set , vicky razai set , lounge suite covers , velvet bedding , single bed razai cover , bath towels in bulk

    ReplyDelete