Public | Automated Build

Last pushed: 16 days ago
Short Description
Delegator's PHP7 base image.
Full Description

delegator/php7

Debian for PHP web applications, based on php:7.1.10-fpm. Use this image as
a base for your own Docker images.

Image contents

Core components:

  • Nginx web server
  • PHP with all modules required by Magento 2 and WordPress
  • Ruby and node.js for any asset building processes you might have

Handy PHP command-line tools:

Building this image from source

# Describe available rake targets
$ rake -T

# Plain, vanilla, just-build-the-image command
$ rake

# Use cache when building layers (useful for debugging)
$ rake build

Testing this image

# Visit http://localhost:3000/ in your favorite browser
$ rake test

Customizing your derived image

Nginx

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.

php-fpm

The php-fpm process is listening locally on TCP port 9000.

nullmailer

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
Docker Pull Command
Owner
delegator
Source Repository

Comments (0)