Sign inSign up

digiblink/alpine-nginx-php72-fpm

By digiblink

•Updated over 5 years ago

Docker container for WP with Alpine Linux 3.12, nginx, PHP-FPM 7.2.34, WP-CLI and git

Image
3

2.7K

digiblink/alpine-nginx-php72-fpm repository overview

⁠digiblink/alpine-nginx-php72-fpm Docker Container

Maintained by digiBlink⁠ - docker hub link⁠

Container with:

  • Alpine Linux 3.12
  • nginx 1.18.0-r1
  • PHP-FPM 7.2.34 (all necessary extensions to be ready for Wordpress deployment)
  • WP-CLI 2.4.0
  • git

⁠Usage

To get it running just enter:

docker run -d --name your_container -v /sites/yourdomain.com:/DATA -p 80:80 -t digiblink/alpine-nginx-php72-fpm

After that you can use BusyBox bash, to log into container and use WP-CLI⁠, to install WordPress⁠:

docker exec -ti your_container bash

After logging in issue following commands:

su www-data
cd /DATA
wp-cli

Tag summary

Content type

Image

Digest

Size

43.2 MB

Last updated

over 5 years ago

docker pull digiblink/alpine-nginx-php72-fpm