aligator / php-nginx-docker

A simple nginx + php server including all php dependencies to run getgrav.org.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP-Nginx for docker to serve Grav

This is a small docker image which just provides a simple nginx server including php.
It is specifically includes all php dependencies for Grav.

Usage

Just see the example docker-compose.yml it basically shows everything you need:

  • expose port 80
  • mount your webpage to /usr/share/nginx
  • optionally mount override to /override -> there you can inject different configurations without rebuilding the image
  • set the environment variables for uid, gid

About

A simple nginx + php server including all php dependencies to run getgrav.org.


Languages

Language:Shell 58.7%Language:Dockerfile 41.3%