Step 31: Using Redis to Store Sessions
Using Redis to Store Sessions
When we talked about branching the project’s code to move session from the filesystem to the database, we listed all the needed step to add a new service.
Here is how you can add Redis to your project in one patch:
Isn’t it beautiful?
“Reboot” Docker to start the Redis service:
Commit and deploy as usual:
Going Further