Skip to content

CodeKoalas/docker-drupal8

Repository files navigation

docker-drupal8

Custom build for Code Koalas' Drupal 8 deployments.

Consists of Ubuntu 16.04, PHP7 (FPM) and Apache 2.4.

Environment variables

  • VIRTUAL_HOST= FQDN of website with a "." at the beginning
  • WWW= "true" if the site should redirect to www.fqdn
  • PRODUCTION= "true" if the site is production (affects Git pulls and drupal settings)
  • LOCAL= "true" if not in production (installs xdebug)
  • GIT_HOSTS= Hosts file entry to be added
  • GIT_REPO= URL of Git repo to pull from
  • GIT_BRANCH= Git branch
  • MYSQL_SERVER= Host name of MySQL server
  • MYSQL_DATABASE= MySQL database name
  • MYSQL_USER= MySQL user name
  • MYSQL_PASSWORD= MySQL password
  • DRUPAL_BASE_URL= Base URL for Drupal config
  • DRUPAL_HTTPS= Set to on or off
  • APACHE_DOCROOT= Apache Docroot - defaults to /var/www/site/docroot
  • SESAuthUser= AWS SES SMTP username starting with 'AuthUser='
  • SESAuthPass= AWS SES SMTP password starting with 'AuthPass='
  • SESmailhub= AWS SES SMTP address, with port
  • CONF_REPO= Repo for config files (php.ini and 000-default.conf)
  • CONF_REPO_BRANCH= Branch for CONF_REPO

BASH aliases

mysqlc connects to MySQL based on Environment Variables mysqld > file.sql dumps database to file.sql based on Environment Variables

https://hub.docker.com/r/codekoalas/drupal8/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published