Sign inSign up

asanchez75/nginx-php

By asanchez75

•Updated over 8 years ago

Nginx + PHP-FPM docker container

Image
0

398

asanchez75/nginx-php repository overview

This is a fork of "million12/docker-nginx-php". It includes support for blitz. Additional global variables has been added. It creates a phpinfo.php file when the vhost is initialized. See example below.

version: '3'
services:
    tablero:
        image: asanchez75/nginx-php:php56
        restart: always
        volumes:
            - "./html:/data/www/default"
        ports:
            - "80:80"
        environment:
            STATUS_PAGE_ALLOWED_IP: "0.0.0.0"
            NGINX_GENERATE_DEFAULT_VHOST: "true"        
            DATABASE_HOST: "MY_IP"
            DATABASE_NAME: "MY_DATABASE"
            DATABASE_USER: "MY_USERNAME"
            DATABASE_PASSWORD: "MY_PASSWORD"

The source code is available here

https://github.com/asanchez75/docker-nginx-php⁠

Tag summary

Content type

Image

Digest

Size

408.1 MB

Last updated

over 8 years ago

docker pull asanchez75/nginx-php:php70drupalcomposer