Skip to content

umar1147/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published