saratonite / docker-openresty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Openresty 👹

A Dockrized openresty + php-fpm setup 👻

All configuration files are located in /volume/ directory

Component version Config file inside Container Local config files
Openresty / nginx 1.13 /usr/local/openresty/nginx/conf/ /volume//openresty/nginx/conf/
PHP 7.1 /etc/php/7.1/cli /volume/php/cli/
php-fpm 7.1 /etc/php/7.1/fpm /volume/php/fpm/

Public www directory

/volume/www

Installation

  • Step 1 : Build dockerimage toothless:1 by running ./build-dockerfile.sh
  • Step 2 : run docker-compose up 🔥
  • Step 3 : Check localhost in browser

Log files

Log files are located in /volume/outbox Directory

you can use outbox directory for transfer file b/w host machine and container

Reference

  • Thanks @rjshk013 for this awesome documentation
  • The 'Toothless' name from HTTYD

Windows OS Errors

About


Languages

Language:Shell 51.8%Language:Dockerfile 45.6%Language:PHP 2.6%