L
L
Lagoon
Search…
Redis
This Dockerfile is intended to be used to set up a standalone Redis ephemeral server by default.

Supported versions

Lagoon adaptions

This image is prepared to be used on Lagoon. There are therefore some things already done:
    Folder permissions are automatically adapted with fix-permissionsso this image will work with a random user.
    The files within /etc/redis/* are parsed through envplatewith a container-entrypoint.

Included redis.conf configuration file

The image ships a default Redis configuration file, optimized to work on Lagoon. Some options are configurable via environments variables (see Environment Variables).

Environment Variables

Environment variables defined in Redis base image. See also https://raw.githubusercontent.com/antirez/redis/4.0/redis.conf for further config.
Environment Variable
Default
Description
DATABASES
-1
Default number of databases created at startup
LOGLEVEL
notice
Define the level of logs
MAXMEMORY
100mb
Maximum amount of memory
REDIS_PASSWORD
disabled
Last modified 9mo ago