Sign inSign up

braucher/php

By braucher

•Updated over 10 years ago

A php container providing php5-fpm configured via the mayflower/php puppet-module.

Image
0

626

braucher/php repository overview

⁠braucher/php 1.7.0

This braucher/php⁠ docker image provides an Ubuntu 14.04 php5-fpm application container configured via the mayflower/php puppet module⁠.

The braucher/php⁠ image also includes the following:

  • numerous PHP extensions
    (see puppet/app/app.yaml⁠ for a complete list of the extensions installed)
  • postfix
  • /app and /app.* entrypoint scripts
  • /fix-uids helper script for host volumes on Mac OS

⁠Usage

By default, /app start is the entrypoint and command, the daemon listens on port 9000, and files are served from /var/www/php.

See the docker-compose.yml from the sample-project branch⁠ for an example of how to build a new project from this image using the following Docker images:

If you fork the sample-project⁠ branch, modify the following files in your new project:

  • Makefile.local
  • docker-compose.yml,
  • /app/app.* (leave /app/app alone)
⁠add your project parameters as environment variables like this:

/app.env

⁠using the default "start" docker command, scripts run like this:
/app.configure  
/app.install  
⁠use the "install" command to download and install the app
/app.install  
⁠use the "backup/restore" commands to manage application data
/app.backup
/app.restore

⁠Development

See DEVELOPMENT.md

⁠License

MIT license

Tag summary

Content type

Image

Digest

Size

296.7 MB

Last updated

over 10 years ago

docker pull braucher/php