Skip to content

Latest commit

 

History

History

traefik-nginx-wordpress-sql-redis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

docker-compose Traefik & Wordpress

Docker stack to have a WordPress site behind a Traefik reverse-proxy with Nginx, a SQL database and Redis objects cache.

This is a prod ready stack, but it needs some customization to be powerful.

🏭 Requirements

  • linux host (tested successfully on Ubuntu 20.04 && 22.04, Debian 10 & 11)
  • docker >= 23.x
  • docker compose (plugin) >= 2.17.x

🚀 How to use

Clone this repo where you want with this line :

git clone https://github.com/Mettmett/docker-compose.git:traefik-nginx-wordpress-sql-redis

You need to edit the file .env at the source folder to modify the values of some vars.

Important !! You have to "sudo chmod 600" the file "acme.json", otherwise you won't be able to pull Let's Encrypt certificates.

After that when you're all set, press the red button to initiate 🔥 !

docker compose pull && docker compose up -d && docker compose logs -f

⭐ Author

Made by Julien HOMMET 🇫🇷 for my personnal website

🔧 Support & Contribution

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

💰 Licence

CC BY-NC-SA

⚓ Misc