The machine is configured to user America/Sao_Paulo timezone. The Nginx configuration is ready to run a Laravel app.
All services are defined and managed using the phusion/baseimage methodology. Logs are output using syslog and can be accessed using docker logs {container}
.
- Nginx (lastest)
- PHP-FPM (7.0) (with Xdebug)
- Composer (PHP)
- Node.JS (lastest)
- XTERM environment support w/colors
The container sets up a www root folder in the following location:
/var/www/public
As a final task a demo index.php is copied to this location.
The following folder is specified as the default root web folder:
/var/www/public
Note that the /var/www/public
is the root folder for serving PHP files for your web server.
Contains nginx config files as well as php-fpm configs (setup.sh). Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.
This image supports mysql.