Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aligator/php-nginx-docker

A simple nginx + php server including all php dependencies to run getgrav.org.
https://github.com/aligator/php-nginx-docker

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# PHP-Nginx for docker to serve [Grav](https://getgrav.org/)

This is a small docker image which just provides a simple nginx server including php.
It is specifically includes all php dependencies for [Grav](https://getgrav.org/).

## 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