Sign inSign up

vcarreira/redis

By vcarreira

•Updated almost 10 years ago

Redis image to be used with Laravel

Image
0

1.7K

vcarreira/redis repository overview

⁠Redis container for Laravel

This is a Docker⁠ image for the Redis⁠ data structure store to be used with the Laravel PHP Framework⁠.

An automated build for this repo is available on the Docker Hub⁠.

This image extends the [Redis Official Image] by allowing to customize the container through the following environment variables:

  • REDIS_HOST
  • REDIS_PORT
  • REDIS_PASSWORD

⁠Starting a redis instance

docker run --name my-redis-instance -d vcarreira/redis

⁠Running redis with persistence storage

docker run --name my-redis-instance -v $(pwd)/redis:/data -d vcarreira/redis redis-server --appendonly yes

When persistence is enabled, data is stored inside the volume /data.

This image works well when used with the Docker Laravel⁠ multi-container solution.

Images used by Docker Laravel⁠


:ok_hand: Happy Coding.

If you have any feedback or questions, feel free to contact me on Twitter with @vcarreira⁠ or email with [email protected]⁠.

Tag summary

Content type

Image

Digest

Size

70.8 MB

Last updated

almost 10 years ago

docker pull vcarreira/redis