Creates a docker container for redx.
The configuration file of redx can be dynamically configured by passing environment variables to docker run. Sane defaults are picked for you so you do not need to supply any environment variables.
Here are the list (which are linked to the redx equivalents). It is important to note that when setting a string value, include the quotes (ie REDIS_HOST="'127.0.0.1'"). You are basically inserting lua code into the configuration file.
If you're looking to do further customization like adding custom plugins or using a custom nginx conf file, its best to roll your own docker image using this as its base.
docker run --name redx -d -p 80:80 -p 443:443 -p 8081:8081 -p 8082:8082 -e REDIS_HOST="'redis.domain.com'" -e PLUGINS=\{\'stickiness\',\'random\'\} cbarraford/redx
Content type
Image
Digest
sha256:93366438b…
Size
154.5 MB
Last updated
almost 11 years ago
docker pull cbarraford/redx