Skip to content

About

Base Ubuntu image for WordPress development with nginx and PHP

Resources

Stars

16 stars

Watchers

16 watching

Forks

Latest commit

 

History

163 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-docker-wordpress

WordPress runtime: OpenResty + PHP 8.3 FPM + cron, supervised by s6 and configured via env vars.

Layer 3 of 3 in the devgeniem web image stack:

  1. docker-base: Ubuntu + s6 base
  2. ubuntu-docker-openresty-pagespeed: OpenResty
  3. ubuntu-docker-wordpress: PHP-FPM + WordPress tooling

Includes

  • PHP 8.3 FPM (redis, apcu, imagick, mongodb)
  • composer, wp-cli
  • cron + cronlock, msmtp

Usage

docker run -p 8080:8080 -v "$PWD":/var/www/project devgeniem/ubuntu-docker-wordpress

Docroot is web/. Defaults for env vars (PORT, NGINX_*, PHP_*, REDIS_*, SMTP_HOST, …) are listed in the Dockerfile.

Build

Requires devgeniem/ubuntu-docker-openresty-pagespeed (build the stack).

docker buildx build --platform linux/amd64 -t devgeniem/ubuntu-docker-wordpress .

About

Base Ubuntu image for WordPress development with nginx and PHP

Resources

Stars

16 stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages