Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wodby/drupal-php
PHP docker container image for Drupal
https://github.com/wodby/drupal-php
alpine docker drupal php
Last synced: about 15 hours ago
JSON representation
PHP docker container image for Drupal
- Host: GitHub
- URL: https://github.com/wodby/drupal-php
- Owner: wodby
- License: mit
- Created: 2016-07-13T08:58:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T09:21:09.000Z (10 days ago)
- Last Synced: 2025-01-31T21:52:30.095Z (9 days ago)
- Topics: alpine, docker, drupal, php
- Language: Shell
- Homepage: https://wodby.com/stacks/drupal
- Size: 871 KB
- Stars: 63
- Watchers: 12
- Forks: 78
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PHP (FPM) for Drupal Docker Container Image
[![Build Status](https://github.com/wodby/drupal-php/workflows/Build%20docker%20image/badge.svg)](https://github.com/wodby/drupal-php/actions)
[![Docker Pulls](https://img.shields.io/docker/pulls/wodby/drupal-php.svg)](https://hub.docker.com/r/wodby/drupal-php)
[![Docker Stars](https://img.shields.io/docker/stars/wodby/drupal-php.svg)](https://hub.docker.com/r/wodby/drupal-php)## Docker Images
❗For better reliability we release images with stability tags (`wodby/drupal-php:8-X.X.X`) which correspond to [git tags](https://github.com/wodby/drupal-php/releases). We strongly recommend using images only with stability tags.
Overview:
- All images based on Alpine Linux
- Base image: [wodby/php](https://github.com/wodby/php)
- [GitHub actions builds](https://github.com/wodby/drupal-php/actions)
- [Docker Hub](https://hub.docker.com/r/wodby/drupal-php)Supported tags and respective `Dockerxfile` links:
- `8.4`, `8`, `latest` [_(Dockerfile)_]
- `8.3` [_(Dockerfile)_]
- `8.2` [_(Dockerfile)_]
- `8.1` [_(Dockerfile)_]
- `8.4-dev`, `8-dev`, `dev` [_(Dockerfile)_]
- `8.3-dev` [_(Dockerfile)_]
- `8.2-dev` [_(Dockerfile)_]
- `8.1-dev` [_(Dockerfile)_]
- `8.4-dev-macos`, `8-dev-macos`, `dev-macos` [_(Dockerfile)_]
- `8.3-dev-macos` [_(Dockerfile)_]
- `8.2-dev-macos` [_(Dockerfile)_]
- `8.1-dev-macos` [_(Dockerfile)_]See [wodby/php](https://github.com/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](https://github.com/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-logindefault params values:
target all
is_hash 0
```See [wodby/php](https://github.com/wodby/php) for all actions
## Complete Drupal Stack
See [wodby/docker4drupal](https://github.com/wodby/docker4drupal)
[_(Dockerfile)_]: https://github.com/wodby/drupal-php/tree/master/Dockerfile
[Drupal Console Launcher]: https://drupalconsole.com