WordPress Docker image with easy-to-customize PHP and sSMTP configs.
2.2K
docker pull ndthuan/wordpress
WordPress Docker image with easy-to-customize PHP and sSMTP configs.
You want to deploy a number of WP containers with slightly different PHP configs but you don't want to create a new ini file or a new Dockerfile for each of them. You want to change it by specifying some environment variables.
With this image, you can:
This image is based on the standard image wordpress:php7.3-apache. Packaged WP version is 5.2 but it can be upgraded to the latest version using WP's update tool without an issue.
NEW_WWW_DATA_UIDNEW_WWW_DATA_GIDWORDPRESS_DB_HOSTWORDPRESS_DB_USERWORDPRESS_DB_PASSWORDWORDPRESS_DB_NAMENUPHP_UPLOAD_MAX_FILESIZE (default: 2M)NUPHP_POST_MAX_FILESIZE (default: 8M)NUPHP_MEMORY_LIMIT (default: 128M)NUPHP_EXPOSE_VERSION (default: Off)NUPHP_SESSION_COOKIE_HTTPONLY (default: On)NUPHP_SESSION_COOKIE_SECURE (default: Off)NUPHP_SESSION_NAME (default: PHPSESSID)NUPHP_SESSION_SAVE_HANDLER (default: files)NUPHP_SESSION_SAVE_PATH (default: empty)MSMTP_HOST (default: smtp.gmail.com)MSMTP_PORT (default: 587)MSMTP_USER (e.g. [email protected])MSMTP_PASSWORD (e.g. your gmail password or app password if you've enabled 2FA authentication)PREFORK_START_SERVERS (default: 3)PREFORK_MIN_SPARE_SERVERS (default: 3)PREFORK_MAX_SPARE_SERVERS (default: 10)PREFORK_MAX_REQUEST_WORKERS (default: 150)See all available variables at https://github.com/ndthuan/docker-wordpress/blob/master/nuphp-entrypoint.sh
You are more than welcome to fork and contribute to https://github.com/ndthuan/docker-wordpress by creating PRs and reporting issues.
Content type
Image
Digest
Size
197.2 MB
Last updated
over 5 years ago
docker pull ndthuan/wordpress