Skip to content

furseyev/php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

furseyev/php7

Debian for PHP web applications, based on php:7.3-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
  • 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 https://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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published