Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Docker Nginx

License

NotificationsYou must be signed in to change notification settings

yappabe/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker pulls

Yappa Nginx Docker Image

Usage

Add the following to your docker-compose.yml file:

nginx:image:yappabe/nginxports:        -80:80links:        -phpvolumes_from:        -appenvironment:DOCUMENT_ROOT:/var/www/app/htmlINDEX_FILE:app_dev.phpPHP_FPM_SOCKET:php:9000

ENV vars

  • DOCUMENT_ROOT defaults to /var/www/app/html
  • INDEX_FILE defaults to app_dev.php
  • PHP_FPM_SOCKET defaults to php:9000

Nginx Versions

To use a specific Nginx version, append the version number to the image name.

Eg:image: yappabe/nginx:1.9

The following Nginx versions are available:

  • Nginx 1.6 (jessie stable)
  • Nginx 1.9 (jessie backports)

[8]ページ先頭

©2009-2025 Movatter.jp