Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.
/ Docker-Nginx-PHP Public archive

A secure Docker images to run an basic php webapplication with nginx.

License

Notifications You must be signed in to change notification settings

mvdschee/Docker-Nginx-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX PHP7.0

In Short

This image is optimized for use with any basic PHP7.0 website

  • Nginx as a fast and efficient webserver.
  • PHP-FPM as the FastCGI engine.
  • Pushion as the minimal Linux container for this image.

Usage

Only works with Docker-Compose This is a second stage image and should be used to build the final image for production/development.

In the final build stage make sure you added a security.conf with in the snippets folder in NGINX. this file contains thinks like hide .files and file type you don't want people to look at.

Dockerfile

  • Define the base image as maxvanderschee/base, an excellent minified Ubuntu 16.04 LTS Docker container.
  • Install and update the core components for this new container like Nginx, PHP-FPM.
  • Setup PHP-FPM, Nginx.
  • Expose Volumes and ports.

About

A secure Docker images to run an basic php webapplication with nginx.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages