Sign inSign up

omardavila64/docker-nginx

By omardavila64

Updated over 6 years ago

Image
0

344

omardavila64/docker-nginx repository overview

ENV:
  • WORKDIR Docker workdir. Default: /www
VOLUME:

nginx config:

  • /nginx/config:/etc/nginx:ro
  • /php/socket:/var/run/php
PORT:
  • Expose 80/tcp
docker-compose.yml (example):
php:
    name: nginx
    hostname: nginx
    healthcheck:
      test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://nginx/status/fpm"]
    image: omardavila64/nginx
    restart: unless-stopped
    volumes:
      - ./:/www
      - ./nginx/config:/etc/nginx:ro
      - ./php/socket:/var/run/php

Tag summary

Content type

Image

Digest

Size

8.4 MB

Last updated

over 6 years ago

docker pull omardavila64/docker-nginx