https://github.com/apsl/docker-drupal
Drupal on LAMP managed with circus. Drupal config parameters managed with envtpl. Keys generated if not found in env.
https://github.com/apsl/docker-drupal
Last synced: about 1 month ago
JSON representation
Drupal on LAMP managed with circus. Drupal config parameters managed with envtpl. Keys generated if not found in env.
- Host: GitHub
- URL: https://github.com/apsl/docker-drupal
- Owner: APSL
- Created: 2014-12-04T13:22:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-05T16:55:13.000Z (over 11 years ago)
- Last Synced: 2025-01-08T10:09:56.299Z (over 1 year ago)
- Language: Shell
- Size: 199 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
======================
Docker drupal image
======================
Drupal image managed with circus. Drupal config parameters managed with envtpl.
Keys generated if not found in config.
Description
===========
Drupal docker image. Features:
* Config generated with envtpl. See env vars below.
* If not set in env vars, drupal security keys are generated.
* circus to control processes. http://circus.readthedocs.org/
* envtpl to setup config files on start time, based on environ vars. https://github.com/andreasjansson/envtpl
* See apsl/lamp base image for more info: https://registry.hub.docker.com/u/apsl/lamp/
As an example of envtpl, circus.ini itself is managed with envtpl
Env vars (default value shown)::
-e DATABASE_NAME=drupaldb
-e DATABASE_USER=drupaluser
-e DATABASE_PASSWORD=1234
-e DATABASE_HOST=172.17.42.1
-e DATABASE_PORT=3306
-e DOMAIN=localhost # Sets all hostnames config, default: container hostname.
-e PROTO=http
-e URL_PREFIX # Default empty. If defined, must begin (but not end) with "/".
# example: -e URL_PREFIX=/mydrupal
# base_url drupal setting will be: {{PROTO}}://{{DOMAIN}}{{URL_PREFIX}}