Skip to content

quantumalchemy/docker-nginx-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-php-fpm

Docker Nginx + PHP-FPM on Alpine Linux

Nginx Latest + PHP-FPM Latest setup for Docker, build on Alpine Linux. The image is very small +/- 35MB.

04/11/2019 added SSL HTTPS support / generic cert see below --> --v /path-to-your/ssl:/ssl (certs)

12/28/2020 added NON-ROOT Nginx Support ! **

RUN NGINX as any non privileged USER for better security / Update wordpress & plugins without changing file owner & permissions. ** ie: -e USER=ec2-user * for use with AWS ec2-user

12/29/2020 added Nginx Support for WordPress Multisite Network

09/17/2022 Updated Alpine 3.16.2, php 8.1

Usage

Docker Pull Command: docker pull scriptgurus/nginx-php Or Run from hub.docker.com -> https://hub.docker.com/repository/docker/scriptgurus/nginx-php docker run -p 80:8080 -p 443:8443 -v /path-to-your/html:/var/www/html -v /path-to-your/ssl:/ssl -e USER=user scriptgurus/nginx-php:latest

About

Docker Nginx + PHP-FPM on Alpine Linux

Resources

Stars

Watchers

Forks

Packages

No packages published