{"id":19424191,"url":"https://github.com/madflojo/redis-tls-dockerfile","last_synced_at":"2025-04-24T16:31:22.393Z","repository":{"id":55513406,"uuid":"61961266","full_name":"madflojo/redis-tls-dockerfile","owner":"madflojo","description":"Redis + TLS Docker image","archived":false,"fork":false,"pushed_at":"2020-12-24T18:52:03.000Z","size":34,"stargazers_count":26,"open_issues_count":2,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T07:51:18.476Z","etag":null,"topics":["docker","dockerfile","redis","stunnel","tls"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madflojo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["madflojo"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-06-25T20:55:56.000Z","updated_at":"2023-08-25T13:42:00.000Z","dependencies_parsed_at":"2022-08-15T02:10:29.401Z","dependency_job_id":null,"html_url":"https://github.com/madflojo/redis-tls-dockerfile","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madflojo%2Fredis-tls-dockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madflojo%2Fredis-tls-dockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madflojo%2Fredis-tls-dockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madflojo%2Fredis-tls-dockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madflojo","download_url":"https://codeload.github.com/madflojo/redis-tls-dockerfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250663544,"owners_count":21467366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","redis","stunnel","tls"],"created_at":"2024-11-10T13:42:15.130Z","updated_at":"2025-04-24T16:31:22.117Z","avatar_url":"https://github.com/madflojo.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/madflojo"],"categories":[],"sub_categories":[],"readme":"# Redis with TLS Dockerfile\n\n![Redis Logo](redis-logo.png)\n\n[![Build Status](https://travis-ci.com/madflojo/redis-tls-dockerfile.svg?branch=master)](https://travis-ci.com/madflojo/redis-tls-dockerfile) [![Docker Pulls](https://img.shields.io/docker/pulls/madflojo/redis-tls)](https://hub.docker.com/r/madflojo/redis-tls)\n\nThis project produces an Open Source Redis Docker image with TLS support. This project uses the base Open Source Redis docker image and stunnel to create a TLS wrapped Redis instance.\n\n## Using this Image\n\n**Start Redis with TLS:**\n\n```console\n$ docker run -d -p 6379:6379 -v /path/to/certs:/certs --name redis-tls madflojo/redis-tls\n```\n\nThe `/path/to/certs` should be a directory on the host that contains the appropriate `cert.pem` and `key.pem` files for `stunnel` to provide TLS encryption.\n\n**Require password authentication for Redis:**\n\n```console\n$ docker run -d -p 6379:6379 -v /path/to/certs:/certs --env REDIS_PASS=\"\u003c\u003cpassword here\u003e\u003e\" \\\n  --name redis-tls madflojo/redis-tls\n```\n\nUse the `$REDIS_PASS` environment variable to require clients to authenticate with this Redis server.\n\n**Additional Options to Redis Start Command:**\n\n```consol\n$ docker run -d -p 6379:6379 -v /path/to/certs:/certs --env REDIS_PASS=\"\u003c\u003cpassword here\u003e\u003e\" \\\n  --env REDIS_CMD_OPTS=\"--appendonly yes\"  --name redis-tls madflojo/redis-tls\n```\n\nUse the `$REDIS_CMD_OPTS` environment variable to pass any command-line arguments to the Redis server start command.\n\n**Start with Persistence:**\n\n```console\n$ docker run --restart=always -d -p 6379:6379 -v /path/to/certs:/certs \\ \n  -v /hostpath/to/redisdatabackup:/data --env REDIS_PASS=\"\u003c\u003cpassword here\u003e\u003e\" \\ \n  --name redis-tls madflojo/redis-tls\n```\n\nTo retain data throughout container restarts, use Docker's volume maps to mount the data directory to a host-level directory.\n\n## Contributing\n\nThank you for your interest in helping develop this project. The time, skills, and perspectives you contribute to this project are valued.\n\n### How can I contribute?\n\nBugs, Proposals, Feature Requests, and Questions are all welcome by creating an Issue or using Discussions. Please provide as much detail as you can in your request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadflojo%2Fredis-tls-dockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadflojo%2Fredis-tls-dockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadflojo%2Fredis-tls-dockerfile/lists"}