Skip to content

Docker container with Alpine Linux 3.16, nginx 1.22.0-r1, PHP-FPM 7.4.32 and WP-CLI 2.7.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

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digiblink/alpine-nginx-php74-fpm Docker Container

Maintained by digiBlink - docker hub link

Container with:

  • Alpine Linux 3.16
  • nginx 1.22.0-r1
  • PHP-FPM 7.4.32 (all necessary extensions to be ready for Wordpress deployment)
  • WP-CLI 2.7.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