Sign inSign up

richcongress/php-nginx

By richcongress

Updated over 2 years ago

This image is extending the `richcongress/php:*-fpm` image and adds nginx service.

Image
0

678

richcongress/php-nginx repository overview

This image is extending the richcongress/php:*-fpm image and adds nginx service.

Example

version: '3.7'
services:
    application:
        image: richcongress/php-nginx:8.0
        volumes:
            - .:/app:rw,cached
            - ~/.composer:/home/application/.composer:cached
            - ~/.elm:/home/application/.elm:cached
            - ~/.ssh:/home/application/.ssh:cached

Or, if we consider a jwilder/nginx-proxy installation

version: '3.7'
services:
    application:
        image: richcongress/php-nginx:8.0
        volumes:
            - .:/app:rw,cached
            - ~/.composer:/home/application/.composer:cached
            - ~/.elm:/home/application/.elm:cached
            - ~/.ssh:/home/application/.ssh:cached
        environment:
            VIRTUAL_HOST: my_certif.test
        networks:
            default: {}
            proxy:
                aliases:
                    - proxy

Tag summary

Content type

Image

Digest

sha256:13a7b2877

Size

725.3 MB

Last updated

over 2 years ago

docker pull richcongress/php-nginx:7.4