diff options
| author | Miguel <m.i@gmx.at> | 2021-01-21 20:59:10 +0100 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2021-01-21 20:59:10 +0100 |
| commit | 5ec428a0c177025b9c04330ae3f39cbde27a2d81 (patch) | |
| tree | 40b5bfbcd1705e312b240c2c5c144f5a79889504 /docker_builds/docker_wordpress_sendmail/README.md | |
| parent | 3ccd1cf7427768cb390527a45753e0cc32f4d609 (diff) | |
add dokcer builds
Diffstat (limited to 'docker_builds/docker_wordpress_sendmail/README.md')
| -rw-r--r-- | docker_builds/docker_wordpress_sendmail/README.md | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/docker_builds/docker_wordpress_sendmail/README.md b/docker_builds/docker_wordpress_sendmail/README.md new file mode 100644 index 0000000..f0ee554 --- /dev/null +++ b/docker_builds/docker_wordpress_sendmail/README.md @@ -0,0 +1,72 @@ +# ABOUT +This is a simple customization of the official wordpress docker image. + +- GitHub: https://github.com/miguelclean/docker_wordpress_sendmail/ +- Docker Hub: https://hub.docker.com/r/migueldirty/docker_wordpress_sendmail/ + +# FEATURES +- added sendmail functionality +- an increased upload size (to 500M) +- added GD with freetype, lib-jpeg, lib-png +- added RemoteIPHeader config option + +# FILES & PROGRAMMS +The following files and programms are added/installed to the official wordpress image: +- /usr/sbin/sendmail - Mail Transport Agent (installed via apt) +- /usr/local/etc/php/conf.d/php.ini - set sendmail\_path = sendmail -t -i +- /usr/local/etc/php/conf.d/uploads.ini - increase upload size to 500M +- customizing /etc/hosts by adding the FQDN specified with $HOSTS\_FQDN + +# USING THIS 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 + +# ENVIRONMENT VARIABLES +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 + + +# EXAMPLE CONFIG + +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: + |
