Public | Automated Build

Last pushed: a year ago
Short Description
Redis image to be used with Laravel
Full Description

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.

Related images

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 vitor.carreira@gmail.com.

Docker Pull Command
Owner
vcarreira
Source Repository

Comments (0)