WordPress with Traefik in Docker and docker-compose
Clone the repo
$ git clone https://github.com/pierre-emmanuelJ/wordpress-traefik.git
$ cd wordpress-traefik
$ mkdir data
$ touch acme.json && chmod 600 acme.json
In docker-compose.yml
and traefik.toml
replace all example.com
by your desired domain.
In docker-compose.yml
replace all password_example
by your desired database password.
Run it now
$ docker-compose up -d
$ sudo chown -R www-data ./data/www
Browse https://example.com/wp-admin/install.php to setup your WordPress 🚀