• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
  • License
    BSD 3-Clause "New...
  • Created over 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Docker image with select Redis Labs modules

Build Status

redismod - a Docker image with select Redis Labs modules

This simple container image bundles together the latest stable releases of Redis and select Redis modules from Redis Labs.

Quickstart

$ docker pull redislabs/redismod
Using default tag: latest
...
$ docker run -p 6379:6379 redislabs/redismod
1:C 24 Apr 2019 21:46:40.382 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
...
1:M 24 Apr 2019 21:46:40.474 * Module 'ai' loaded from /usr/lib/redis/modules/redisai.so
1:M 24 Apr 2019 21:46:40.474 * <ft> RediSearch version 1.4.7 (Git=)
1:M 24 Apr 2019 21:46:40.474 * <ft> concurrency: ON, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, search pool size: 20, index pool size: 8,
1:M 24 Apr 2019 21:46:40.475 * <ft> Initialized thread pool!
1:M 24 Apr 2019 21:46:40.475 * Module 'ft' loaded from /usr/lib/redis/modules/redisearch.so
1:M 24 Apr 2019 21:46:40.476 * <graph> Thread pool created, using 8 threads.
1:M 24 Apr 2019 21:46:40.476 * Module 'graph' loaded from /usr/lib/redis/modules/redisgraph.so
loaded default MAX_SAMPLE_PER_CHUNK policy: 360
1:M 24 Apr 2019 21:46:40.476 * Module 'timeseries' loaded from /usr/lib/redis/modules/redistimeseries.so
1:M 24 Apr 2019 21:46:40.476 # <ReJSON> JSON data type for Redis v1.0.4 [encver 0]
1:M 24 Apr 2019 21:46:40.476 * Module 'ReJSON' loaded from /usr/lib/redis/modules/rejson.so
1:M 24 Apr 2019 21:46:40.476 * Module 'bf' loaded from /usr/lib/redis/modules/rebloom.so
1:M 24 Apr 2019 21:46:40.477 * <rg> RedisGears version 0.2.1, git_sha=fb97ad757eb7238259de47035bdd582735b5c81b
1:M 24 Apr 2019 21:46:40.477 * <rg> PythonHomeDir:/usr/lib/redis/modules/deps/cpython/
1:M 24 Apr 2019 21:46:40.477 * <rg> MaxExecutions:1000
1:M 24 Apr 2019 21:46:40.477 * <rg> RedisAI api loaded successfully.
1:M 24 Apr 2019 21:46:40.477 # <rg> RediSearch api loaded successfully.
1:M 24 Apr 2019 21:46:40.521 * Module 'rg' loaded from /usr/lib/redis/modules/redisgears.so
1:M 24 Apr 2019 21:46:40.521 * Ready to accept connections

Modules included in the container

Configuring the Redis server

This image is based on the official image of Redis from Docker. By default, the container starts with Redis' default configuration and all included modules loaded.

You can, of course, override the defaults. This can be done either by providing additional command line arguments to the docker command, or by providing your own Redis configuration file.

Running the container with command line arguments

You can provide Redis with configuration directives directly from the docker command. For example, the following will start the container, mount the host's /home/user/data volume to the container's /data, load the Rebloom module, and configure Redis' working directory to /data so that the data will actually be persisted there.

$ docker run \
  -p 6379:6379 \
  -v /home/user/data:/data \
  redislabs/redismod \
  --loadmodule /usr/lib/redis/modules/rebloom.so \
  --dir /data

Running the container with a configuration file

Assuming that you have put together a configration file such as the following, and have stored it at /home/user/redis.conf:

requirepass foobared
dir /data
loadmodule /usr/lib/redis/modules/rebloom.so

And then execute something along these lines:

$ docker run \
  -p 6379:6379 \
  -v /home/user/data:/data \
  -v /home/user/redis.conf:/usr/local/etc/redis/redis.conf \
  redislabs/redismod \
  /usr/local/etc/redis/redis.conf

Your dockerized Redis server will start and will be listening at the default Redis port (6379) of the host. In addition, the Redis server will require password authentication ("foobared"), will store the data to the container's /data (that is the host's volume /home/user/data), and will have loaded only the Rebloom module.

License

This Docker image is licensed under the 3-Clause BSD License.

Redis is distributed under the 3-Clause BSD License. The Redis trademark and logos are owned by Redis Labs Ltd, please read the Redis trademark guidelines (https://redis.io/topics/trademark) for our policy about the use of the Redis trademarks and logo.

The copyright of the Redis modules in this container belongs to Redis Labs, and the modules are distributed under the Redis Source Available License.

More Repositories

1

redisml

Machine Learning Model Server
C
305
star
2

redismodule-rs

Rust API for Redis Modules API
Rust
269
star
3

RedisModulesSDK

Tools, utilities and scripts to help you write redis modules!
C
177
star
4

redex

Extension modules to Redis' native data types and commands
C
69
star
5

countminsketch

An apporximate frequency counter Redis module
C
46
star
6

RedisEdge

Docker image with select Redis Labs modules for the Edge
Dockerfile
39
star
7

topk

An almost deterministic top k elements counter Redis module
C
35
star
8

secondary

Redis Secondary Indexing Module, been suspended see: https://github.com/RediSearch/RediSearch/
C
34
star
9

redablooms

Scalable, counting Bloom filters Redis Module
C
28
star
10

redis-state-machine

A persistent state machine for redis
Rust
22
star
11

password

Redis module for secure password storage
C
22
star
12

RLTest

Redis Labs Test Framework
Python
18
star
13

readies

Library cluster of common Redis Modules automation code
Python
18
star
14

RAMP

Redis Automatic Module Packaging
Python
14
star
15

RedisREST

REST module for Redis
Rust
13
star
16

graphicsmagick

Redis Module wrapping libGraphicsMagick
C
11
star
17

pam_auth

POC module for PAM-based AUTH command
C
9
star
18

redisbench-admin

Redis benchmark run helper
Python
7
star
19

RedisPythonModule

Redis Python Module
C
4
star
20

RedisX

Extension modules to Redis' native data types and commands
Python
4
star
21

rtexp

Real Time Expiration Module
C
3
star
22

arlecchino

Redis Labs Enterprise Cluster on Docker
Python
3
star
23

redisenv

A docker-based wrapping tool, for making redis environments
Python
3
star
24

redis-java-benchmarks

This folder contains scripts that produce reproducible timings of various jedis features, and to visualize what your java redis code is spending time without modifying the code in any way. It attempts to avoid falling victim to undesirable optimizations by offering BlackHoles and a solid collection of conventions by using JMH.
Java
3
star
25

similar-images

Python
3
star
26

predis-magento-cache

PHP
2
star
27

automata

Python
2
star
28

licenses

Redis Labs modules licenses
1
star
29

RedisSchema

Rust
1
star
30

ramp_analyzer

tool to analyze and modify ramp file
Python
1
star
31

testing-infrastructure

This repo aims to provide severall testing golden images and setups, to ensure the minimum requirements and toolset to be present.
HCL
1
star
32

cloud-native-benchmarks

DBMS cloud native benchmarks, broken down by database model
Python
1
star
33

redisplus-py

All-in-one module playground.
Python
1
star
34

node-redis-modules

1
star
35

etc-structor

Accompanying payload for structor-aided versioned documentation
Dockerfile
1
star