View Source DivoRedis (divo_redis v1.0.0)

Defines a simple redis stack as a map compatible with divo for building a docker-compose file.

Link to this section Summary

Functions

Implements the Divo Stack behaviour to take a keyword list of defined variables specific to the DivoRedis stack and returns a map describing the service definition of redis.

Link to this section Functions

@spec gen_stack([tuple()]) :: map()

Implements the Divo Stack behaviour to take a keyword list of defined variables specific to the DivoRedis stack and returns a map describing the service definition of redis.