https://github.com/Wodby/drupal-nginx
ARCHIVED: merged to https://github.com/wodby/nginx
https://github.com/Wodby/drupal-nginx
alpine docker drupal nginx
Last synced: 8 months ago
JSON representation
ARCHIVED: merged to https://github.com/wodby/nginx
- Host: GitHub
- URL: https://github.com/Wodby/drupal-nginx
- Owner: wodby
- Archived: true
- Created: 2016-07-13T08:58:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T06:47:37.000Z (over 7 years ago)
- Last Synced: 2024-08-03T15:06:36.832Z (over 1 year ago)
- Topics: alpine, docker, drupal, nginx
- Language: Smarty
- Homepage:
- Size: 129 KB
- Stars: 21
- Watchers: 12
- Forks: 39
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nginx for Drupal Docker Container Image
[](https://travis-ci.org/wodby/drupal-nginx)
[](https://hub.docker.com/r/wodby/drupal-nginx)
[](https://hub.docker.com/r/wodby/drupal-nginx)
[](https://microbadger.com/images/wodby/drupal-nginx)
## Docker Images
❗For better reliability we release images with stability tags (`wodby/drupal-nginx:1.15-X.X.X`) which correspond to [git tags](https://github.com/wodby/drupal-nginx/releases). We strongly recommend using images only with stability tags.
Overview:
* All images are based on Alpine Linux
* Base image: [wodby/php-nginx](https://github.com/wodby/php-nginx)
* [Travis CI builds](https://travis-ci.org/wodby/drupal-nginx)
* [Docker Hub](https://hub.docker.com/r/wodby/drupal-nginx)
[_(Dockerfile)_]: https://github.com/wodby/drupal-nginx/tree/master/Dockerfile
| Supported tags and respective `Dockerfile` links | Drupal | Nginx |
| ------------------------------------------------ | ------ | ----- |
| `8-1.15`, `1.15`, `8`, `latest` [_(Dockerfile)_] | 8 | 1.15 |
| `7-1.15`, `7` [_(Dockerfile)_] | 7 | 1.15 |
| `6-1.15`, `6` [_(Dockerfile)_] | 6 | 1.15 |
| `8-1.14`, `1.14` [_(Dockerfile)_] | 8 | 1.14 |
| `7-1.14` [_(Dockerfile)_] | 7 | 1.14 |
| `6-1.14` [_(Dockerfile)_] | 6 | 1.14 |
| `8-1.13`, `1.12` [_(Dockerfile)_] | 8 | 1.13 |
| `7-1.13` [_(Dockerfile)_] | 7 | 1.13 |
| `6-1.13` [_(Dockerfile)_] | 6 | 1.13 |
## Environment Variables
See at [wodby/php-nginx](https://github.com/wodby/php-nginx)
| Variable | Default Value | Description |
| ----------------------------------------------- | ------------------------ | ----------------------------- |
| `NGINX_ALLOW_XML_ENDPOINTS` | | |
| `NGINX_BACKEND_HOST` | | |
| `NGINX_DRUPAL_HIDE_HEADERS` | | |
| `NGINX_DRUPAL_TRACK_UPLOADS` | `uploads 60s` | |
| `NGINX_DRUPAL_FILE_PROXY_URL` | | e.g. `http://dev.example.com` |
| `NGINX_SERVER_EXTRA_CONF_FILEPATH` | | |
| `NGINX_SERVER_NAME` | `drupal` | |
| `NGINX_SERVER_ROOT` | `/var/www/html` | |
| `NGINX_STATIC_CONTENT_ACCESS_LOG` | `off` | |
| `NGINX_STATIC_CONTENT_EXPIRES` | `30d` | |
| `NGINX_STATIC_CONTENT_OPEN_FILE_CACHE` | `max=3000 inactive=120s` | |
| `NGINX_STATIC_CONTENT_OPEN_FILE_CACHE_MIN_USES` | `2` | |
| `NGINX_STATIC_CONTENT_OPEN_FILE_CACHE_VALID` | `45s` | |
| `NGINX_XMLRPC_SERVER_NAME` | | |
## Orchestration Actions
See [wodby/nginx](https://github.com/wodby/nginx) for all actions.
## Complete Drupal Stack
See [Docker4Drupal](https://github.com/wodby/docker4drupal).