wordpress with sendmail and increased upload size (500M)
804
This is a simple customization of the official wordpress docker image.
The following files and programms are added/installed to the official wordpress image:
You can specify the following in your docker-compose.yml:
build: https://github.com/miguelclean/docker_wordpress_sendmail.git
You can also use this automatically built image from Docker Hub:
image: migueldirty/docker_wordpress_sendmail
This customized image requires to specify HOSTS_FQDN additionally:
HOSTS_FQDN: www.your-server.com
Optionally you can set the header name to be used for RemoteIPHaeder in apache.
Example: REMOTE_IP: X-Real-IP
docker-compose.yml for a wordpress & mysql deployment using this image:
version: '2'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
wordpress:
depends_on:
- db
build: https://github.com/miguelclean/docker_wordpress_sendmail.git
volumes:
- wp_data:/var/www/html
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_PASSWORD: wordpress
HOSTS_FQDN: www.your-server.com
volumes:
db_data:
wp_data:
Content type
Image
Digest
Size
167.5 MB
Last updated
over 7 years ago
docker pull migueldirty/docker_wordpress_sendmail