Dockerfile for Wordpress with mSMTP client.
docker-compose file includes:
- Traefik
- Wordpress
- MariaDB
- Adminer
- Backup
- clone the repo
- edit .env file
- create msmtp/msmtprc from provided msmtprc.example
docker-compose up -d
http://traefik-wordpress.docker.localhost:8080/dashboard
http://wordpress.docker.localhost
http://adminer.wordpress.docker.localhost
The stack is divided into two networks, backend and frontend.
The idea behind splitting the stack into two networks
is to block the access of the reverse proxy to the backend containers.
Both networks are unique and will be named with stackname_networname such as: \
- docker-traefik-wordpress_backend
- docker-traefik-wordpress_backend
Author: Airdata.