Debian for PHP web applications, based on php:7.3-fpm
. Use this image as
a base for your own Docker images.
Core components:
- Nginx web server
- PHP with all modules required by Magento 2
- Ruby and node.js for any asset building processes you might have
Handy PHP command-line tools:
# Describe available rake targets
$ rake -T
# Plain, vanilla, just-build-the-image command
$ rake
# Use cache when building layers (useful for debugging)
$ rake build
# Visit http://localhost:3000/ in your favorite browser
$ rake test
Place your nginx server
definitions in /etc/nginx/sites-enabled
. Nginx will
automatically load all .conf
files that exist in /etc/nginx/conf.d
. Files
intended to be "included" belong in /etc/nginx/snippets
.
The php-fpm process is listening locally on TCP port 9000.
This package is included in order to easily funnel email through your favorite
email-as-a-service provider. Be sure to override all files under /etc/nullmailer
.
An example remotes
entry for Amazon SES SMTP:
email-smtp.us-east-1.amazonaws.com smtp --port=587 --starttls --user=your_username_here --pass=your_password_here