heroku-buildpack-ci-redis

by rebel6969

GitHub Readme.md

Warning this is an experimental buildpack and is provided as-is without any promise of support.

Heroku CI buildpack: Redis

This experimental Heroku buildpack vendors Redis into the dyno. It is intended for use with Heroku CI or any other environment where data retention is not important.

Please note that Redis will loose all data each time a dyno restarts.

Usage

The first run of this buildpack will take a while as Redis is downloaded and compiled. Thereafter the compiled version will be cached. Redis will start locally and be available on redis://127.0.0.1:6379 available in the REDIS_URL environment variable.

By default Redis 3 is used, however you can specify a REDIS_VERSION in the env section of your app.json to use a different major (e.g. "4" or "5") or exact (e.g. "5.0.5") version. This feature is experimental and subject to change.

Releasing a new version

Make sure you publish this buildpack in the buildpack registry

heroku buildpacks:publish heroku/ci-redis master