Base Apache Docker Container for RIDI Platform team

Build Status

Envionment variables

  • Container variables

    • APACHE_DOC_ROOT - The document root is /var/www/html. (default) Set APACHE_DOC_ROOT if you want to change,
    • XDEBUG_ENABLE - if set this "1", then XDebug is enabled.
    • XDEBUG_HOST - XDebug host is computed at the start. You can specify a special host by this.
    • PHP_TIMEZONE - PHP time zone. (default = Asia/Seoul)
  • CI variables

    • DOCKER_USER - The account id used in docker login
    • DOCKER_PASS - The account password used in docker login

Usage

Standalone usage example with host's current working directory as document root:

docker run -p 80:80 \
  -v $(pwd):/var/www/html \
  --name php-apache \
  -e XDEBUG_ENABLE=1 \
  ridibooks/platform-apache-base:${tag_name}