Public | Automated Build

Last pushed: 8 months ago
Short Description
Short description is empty for this repo.
Full Description

convox/redis

Redis docker image based on Alpine Linux

This repo builds a docker image that accepts
LINK_PASSWORD and exports a LINK_PASSWORD, LINK_SCHEME, and LINK_PATH for convox linking.

It is similar to the
official redis build but
with a much smaller footprint. It achieves that by basing itself off the great
alpine docker image by GliderLabs.

Usage

Ephemeral redis container:

$ docker run -e LINK_PASSWORD=foo -p 6379:6379 convox/redis
$ redis-cli -h $(boot2docker ip) -a foo
192.168.59.103:6379>

Enable persistence with shared volume on host:

$ docker run -e LINK_PASSWORD=foo -p 6379:6379 -v /tmp/redis-data:/data convox/redis redis-server /tmp/redis.conf --appendonly yes

Why?

$ docker images
REPOSITORY       TAG         VIRTUAL SIZE
convox/redis     latest      13.38 MB
redis            latest      111 MB

Convox will read the LINK_ vars and use them to assemble a service URL in development.

Build

$ make build

License

Apache 2.0 © 2015 Convox, Inc.

Docker Pull Command
Owner
convox
Source Repository

Comments (0)