Skip to content

Docker container with Alpine Linux 3.20, nginx 1.26.2-r0, PHP-FPM 7.4.33 and WP-CLI 2.11.0

Notifications You must be signed in to change notification settings

digiBlink/alpine-nginx-php74-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digiblink/alpine-nginx-php74-fpm Docker Container

Maintained by digiBlink - docker hub link

Container with:

  • Alpine Linux 3.20 (with latest security updates)
  • nginx 1.26.2-r0
  • PHP-FPM 7.4.33 (all necessary extensions to be ready for Wordpress deployment)
  • WP-CLI 2.11.0
  • git, bash

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-php74-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 to manage WordPress issue following commands:

su www-data
cd /DATA/htdocs/current
wp-cli