Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional persistence to Redis by using named volume #19

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

stasadev
Copy link
Member

The Issue

We need to get rid of anonymous Redis /data volume.

How This PR Solves The Issue

Adds a named volume for Redis.

This change is not breaking, Redis will work as before, but won't create anonymous volumes on every ddev restart.

I could enable persistence by default, but I've never needed it, I've always used Redis as a cache.

Manual Testing Instructions

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

@rfay rfay requested a review from hussainweb November 28, 2023 21:05
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, better title would say "Add persistence to redis by using named volume" or something.

Copy link
Collaborator

@hussainweb hussainweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got a little confused with changes in #18 but then I see that was closed without merging. This LGTM.

@rfay
Copy link
Member

rfay commented Nov 28, 2023

Please merge and create a release if it manually tests OK for you, thanks!

@stasadev stasadev changed the title Remove anonymous Redis volume Add optional persistence to Redis by using named volume Nov 29, 2023
@stasadev stasadev merged commit edebed5 into ddev:main Nov 29, 2023
2 checks passed
@stasadev stasadev deleted the 20231128_stasadev_redis branch November 29, 2023 09:32
@fieryprophet
Copy link

I was literally just looking for some way to enable persistence, perfect timing for merging this 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants