Sign inSign up

podpoint/nginx

By podpoint

•Updated over 7 years ago

Pod Point NGINX Docker Image

Image
1

100K+

podpoint/nginx repository overview

⁠NGINX

https://hub.docker.com/r/podpoint/nginx/ Docker Pulls

This image provides NGINX and configures it to serve a Pod Point PHP-FPM application. It is based on the Official Stable NGINX⁠ image.

We provide the following version tags:

⁠Usage

By default the document root is set to /srv/www/public and the image tries to connect to PHP-FPM at php:9000 and will listen on port 80.

services:
  php:
    image: podpoint/php:7.2
    volumes:
      - ./:/srv/www
  nginx:
    image: podpoint/nginx:latest
    volumes:
      - ./:/srv/www
    ports:
      - 80:80

You can also of course supply your own NGINX config and port:

services:
  nginx:
    image: podpoint/nginx:latest
    volumes:
      - ./nginx/site.conf:/etc/nginx/conf.d/site.conf
    ports:
      - 8080:80

Tag summary

Content type

Image

Digest

Size

42.6 MB

Last updated

over 7 years ago

docker pull podpoint/nginx