Giter Club home page Giter Club logo

docker-php-apache's Introduction

docker-php-apache

A generic php + apache docker

Using with docker-compose

apache:
  image: indigen/php-apache
  volume:
    - ./www/:/mnt/www
    - ./conf/apache:/mnt/conf/apache
  environment:
    - DOCUMENT_ROOT=/mnt/www
  expose:
    - 80

Volume

  • /mnt/www is the default apache document root.
  • /mnt/conf/apache/ can contain *.conf files that are loaded by apache.
  • /mnt/scripts/start/ can contain *.sh files that are executed before apache start.

Environment

  • DOCUMENT_ROOT: By default the apache DocumentRoot is located in /mnt/www.
  • APACHE_USER: By default the apache user is set to #1000. Because the container have his own passwd file you must use #UID notation.
  • APACHE_GROUP: By default the apache group is set to #1000. Because the container have his own group file you must use #GID notation.
  • APACHE_UMASK: By default the apache umask is set to 002.
  • SMTP_SERVER: Set an smtp server for the sendmail command (No smtp config will be generated if not provided)
  • SMTP_HOSTNAME: Default email sender domain (default to machine hostname)
  • SMTP_USERNAME: SMTP user
  • SMTP_PASSWORD: SMTP password
  • SMTP_USE_TLS: Use SMTP tls if set to "true"

docker-php-apache's People

Contributors

jerome-quere avatar

Watchers

James Cloos avatar Florian Belliard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.