Docker Template for Wordpress with MariaDB, Varnish and PHPmyAdmin
Check:
- /custom-varnish/wordpress.vcl - for all your wp-folders, which one should not be cached
- aliases - for your domain name and email-adress
- app.conf - for your domain (ServerAlias) and ServerEMail-Address (ServerAdmin)
- cronjob - change the http://0.0.0.0 to https://yourdomain.com
- msmtprc - it is recommended to use an email-service for sending emails like a smtp of your domain provider (IONOS, STRATO, GoDaddy or AWS SES, Sendgrit, Mailgun,...). Delete the
#
and change herehost
as the smtp of your server smtp.ionos.com, theport
587,user
myuser,password
my password and thefrom
which email address comes the mail from. - php.ini-production - if needed
- docker-compose.yml - change the
ports
,user
andpassword
if needed and theMYSQL_DATABASE
- Enter the Database-Name, User and Password as configured in docker-compose.yml under db
- for Database-Host use only
db
- nothing else