Skip to content

About

Based on WordPress official image, allows extra PHP settings via environment variables

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress

Based on WordPress official image, just added a bit extra PHP settings via environment variables.

Usage

Please see WordPress Docker hub page.

Extra PHP Settings

  • PHP_MEMORY_LIMIT=... (default to 128M)
  • PHP_UPLOAD_MAX_FILESIZE=... (default to 10M)
  • PHP_POST_MAX_SIZE=... (default to 10M)
  • PHP_MAX_EXECUTION_TIME=... (default to 120)

These are read by PHP at startup from /usr/local/etc/php/conf.d/uploads.ini (see config/php/uploads.ini), so they also work when the container runs as a non-root user.

Examples

Data is persisted under ./data/. When using the FPM example, keep client_max_body_size in config/nginx/wordpress.conf in line with PHP_UPLOAD_MAX_FILESIZE.

Dockerfile links

About

Based on WordPress official image, allows extra PHP settings via environment variables

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages