Skip to content

Latest commit

 

History

History
executable file
·
47 lines (39 loc) · 1.22 KB

README.md

File metadata and controls

executable file
·
47 lines (39 loc) · 1.22 KB

This is an s2i builder image for drupal.

Original instructions available here - https://github.com/openshift/source-to-image

Execute build

IMAGE_NAME=singularo/s2i-shepherd-drupal
docker build -t ${IMAGE_NAME} .

Building the main runtime image.

The builder image can also be created by using the make command since a Makefile is included.

make

Making the image public

Once happy with local testing the image(s), both images can be pushed to the repo with:

make
make tag
make push

Newrelic support.

To enable newrelic, add lines like these examples to your .env file. LICENSE is the important one, APP should be different for each thing being monitored.

NEWRELIC_ENABLED=true
NEWRELIC_LICENSE="e33dbhas63nhgasd76t3e4hjgasd73edjhga80bNRAL"
NEWRELIC_APP="whatever-app"

php-fpm