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/ |
/volume/www
- 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 are located in
/volume/outbox
Directory
you can use outbox
directory for transfer file b/w host machine and container