Skip to content

Instantly share code, notes, and snippets.

@capywebformations
Last active October 1, 2021 07:54
Show Gist options
  • Save capywebformations/5cf19e19c037183260b1880458694e28 to your computer and use it in GitHub Desktop.
Save capywebformations/5cf19e19c037183260b1880458694e28 to your computer and use it in GitHub Desktop.
Docker - Dockerize Wordpress

πŸ“” Dockerize a Wordpress 5 Project

TP

  • βœ”οΈ Create a simple blog with Wordpress or Use an existing Wordpress Project
  • βœ”οΈ Create a development environment for the project

πŸ”΄ Obligations

  • :octocat: Github Flow (PR mandatory)
  • πŸ“– Respect Github open source guidelines
  • 〰️ Comment each line of the Dockerfile or docker-compose files
  • πŸ’― Complete README to initialize the project
  • πŸ”’ Use only official Docker Hub images and lock versions of your images
  • β›” Mandatory services :
    • Wordpress (PHP & Apache/Nginx)
    • Database
    • phpMyAdmin
  • πŸ“© Push your image on Docker Hub or Github (follow the mandatory rules for each platform)

🎁 Bonus:

  • πŸ“€ Create a prod environment for the project
  • 😱 Push your docker on a vps or on heroku
  • πŸ’ͺ Services :
    • Testing email service (MailHog)
    • Proxy (Traefik)
    • SSL certificat (Let's Encrypt) ⚠️ You need a domain name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment