/wpdocker

A simple setup web development with Docker and WordPress

Primary LanguageDockerfile

Docker for WordPress and more

A simple setup Web Development with Docker ♥️ WordPress or any PHP application

Support on

  • Mac Intel, Mac M1 Chip
  • Windows 10 / 11 with WSL2
  • Linux

Follow the update and get an question to me on WordPress Group [https://www.facebook.com/groups/wordpressviet/posts/5154112297936613]

Feature Updated 2022

Required

Install

  • cd wpdocker and cd nginx and mkdir certs
  • Run mkcert dev.test and you have 2 files .pem
  • Run docker-compose up -d --build
  • Run sudo chmod -R 777 wordpress/ ( optional )
  • Put your content into wordpress folder
  • Open on browser https://dev.test
  • Warning: add platform: linux/x86_64 when use MACOS M1 devices

MySQL

  • Hostname: localhost | 3060
  • Usename: wp | password: secret
  • Mysql hostname: mysql
  • Database name: wp
  • Use client MySQL to connect like TablePlus, MySQL Workbench ...

Screenshots

drawing

drawing