https://github.com/tozd/docker-redis
Redis Docker image. Read-only mirror of https://gitlab.com/tozd/docker/redis
https://github.com/tozd/docker-redis
docker docker-image redis
Last synced: 2 months ago
JSON representation
Redis Docker image. Read-only mirror of https://gitlab.com/tozd/docker/redis
- Host: GitHub
- URL: https://github.com/tozd/docker-redis
- Owner: tozd
- Created: 2016-01-11T10:40:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T23:48:51.000Z (almost 3 years ago)
- Last Synced: 2025-01-09T16:37:24.782Z (over 1 year ago)
- Topics: docker, docker-image, redis
- Language: Dockerfile
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# tozd/redis
Available as:
- [`tozd/redis`](https://hub.docker.com/r/tozd/redis)
- [`registry.gitlab.com/tozd/docker/redis`](https://gitlab.com/tozd/docker/redis/container_registry)
## Image inheritance
[`tozd/base`](https://gitlab.com/tozd/docker/base) ← [`tozd/dinit`](https://gitlab.com/tozd/docker/dinit) ← `tozd/redis`
## Tags
- `3`: Redis 3.2.13
- `4`: Redis 4.0.14
- `5`: Redis 5.0.14
- `6`: Redis 6.2.18
- `7`: Redis 7.4.4
- `8`: Redis 8.0.2
## Volumes
- `/var/log/redis`: Log files when `LOG_TO_STDOUT` is not set to `1`.
- `/etc/redis/conf.d`: You can put Redis config files with `.conf` file extension here to configure the server.
- `/data`: Persist this volume to not lose state when Redis is configured with persistence.
## Variables
- `LOG_TO_STDOUT`: If set to `1` output logs to stdout (retrievable using `docker logs`) instead of log volumes.
## Ports
- `6379/tcp`: Port on which Redis listens.
## Description
Image providing [Redis](https://redis.io/) server.
Different Docker tags provide different Redis versions.
You should make sure you mount data volume (`/data`) when you configure Redis with persistence
so that you do not lose data when you are recreating a container.
When `LOG_TO_STDOUT` is set to `1`, Docker image logs output to stdout and stderr. All stdout output is JSON.
## GitHub mirror
There is also a [read-only GitHub mirror available](https://github.com/tozd/docker-redis),
if you need to fork the project there.