Awesome
PHP (FPM) for Drupal Docker Container Image
Docker Images
❗For better reliability we release images with stability tags (wodby/drupal-php:8-X.X.X
) which correspond to git tags. We strongly recommend using images only with stability tags.
Overview:
- All images based on Alpine Linux
- Base image: wodby/php
- GitHub actions builds
- Docker Hub
Supported tags and respective Dockerxfile
links:
8.3
,8
,latest
(Dockerfile)8.2
(Dockerfile)8.1
(Dockerfile)8.3-dev
,8-dev
,dev
(Dockerfile)8.2-dev
(Dockerfile)8.1-dev
(Dockerfile)8.3-dev-macos
,8-dev-macos
,dev-macos
(Dockerfile)8.2-dev-macos
(Dockerfile)8.1-dev-macos
(Dockerfile)
See wodby/php for the exact PHP version
All images built for linux/amd64
and linux/arm64
Environment Variables
Variable | Default Value | Description |
---|---|---|
DRUPAL_REVERSE_PROXY_ADDRESSES | ||
DRUPAL_PHP_STORAGE_DIR | Sets the default storage dir for generated PHP code (i.e. Twig) | |
PHP_OUTPUT_BUFFERING | 16384 | |
PHP_REALPATH_CACHE_TTL | 3600 | |
DRUPAL_VERSION | ||
DRUPAL7_INSTALL_GLOBAL_DRUSH | Installs global drush 7.* during entrypoint, works only with DRUPAL_VERSION=7 |
See wodby/php for all variables
Orchestration Actions
Usage:
make COMMAND [params ...]
commands:
git-checkout target [ is_hash]
drush-import source
init-drupal
cache-clear target
cache-rebuild
drush8-alias
drush9-alias
user-login
default params values:
target all
is_hash 0
See wodby/php for all actions