# Config redis

**URL:** https://forum.shopware.com/t/config-redis/60460
**Category:** General Questions (EN)
**Created:** [16. Juli 2019 um 12:06 UTC](https://forum.shopware.com/t/config-redis/60460 "2019-07-16T12:06:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)
#### Post date: [16. Juli 2019 um 12:06 UTC](https://forum.shopware.com/t/config-redis/60460/1 "2019-07-16T12:06:09Z")

</div>

Hi

I am currently making a Kubernetes setup for the newest ShopWare 6.

Everything works great, except for the Redis service (cache and session).

I have been looking everywhere in the project code but I do not see where should I set the config file.

In Shopware 5 it was on config.php, but that file structure does not exist any more.

Any suggestions?

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [16. Juli 2019 um 12:32 UTC](https://forum.shopware.com/t/config-redis/60460/2 "2019-07-16T12:32:54Z")

</div>

Since this is not fully tested / implemented yet, there is no documentation for it. This will be available&nbsp;later, when it is meant to be used.

But the new shopware 6 is based on symfony - so you are able to use the symfony standard to add redis support without any additional development. There is no such thing as a config.php, since everything works with environment-variables.

> **[Framework Configuration Reference (FrameworkBundle) (Symfony Docs)](https://symfony.com/doc/current/reference/configuration/framework.html)**
>
> Framework Configuration Reference (FrameworkBundle): The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more. All these opti...

&nbsp;

---

<div class="post-metadata">

### Author: ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)
#### Post date: [29. Juli 2019 um 14:07 UTC](https://forum.shopware.com/t/config-redis/60460/3 "2019-07-29T14:07:38Z")

</div>

Hi

Could somebody give me some more information or examples on how to approach this?

I have read the documentation from Symfony but there are too many differences in the Shopware project compared to the Symfony documentation

Or when I can expect to see an extended ShopWare 6 documentation about it?&nbsp;

Thanks!

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [30. Juli 2019 um 05:54 UTC](https://forum.shopware.com/t/config-redis/60460/4 "2019-07-30T05:54:03Z")

</div>

The configuration should look somewhat like the one mentioned&nbsp;in the section „Symfony Configuration“ of this blog article:&nbsp;[Using Redis for session handling in Symfony 4.1+](http://blog.michaelperrin.fr/2018/08/14/redis-session-handling-in-symfony/)

When configured according to this settings, symfony will use redis as session handler.

You will have to wait for an official documentation, since we are still in the early access phase of the product.

---

<div class="post-metadata">

### Author: ![byte\_thomas](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@byte\_thomas](https://forum.shopware.com/u/byte_thomas)
#### Post date: [30. November 2020 um 01:41 UTC](https://forum.shopware.com/t/config-redis/60460/5 "2020-11-30T01:41:54Z")

</div>

Hi @Yafar\_iSi‍

Is there a possibility that you share your shopware k8s setup?

Thanks!

---

<div class="post-metadata">

### Author: ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)
#### Post date: [30. November 2020 um 09:35 UTC](https://forum.shopware.com/t/config-redis/60460/6 "2020-11-30T09:35:56Z")

</div>

Hi @byte\_thomas‍

Sure, I am always glad to help

_Feel free to find me in Slack “[shopwarecommunity.slack.com](http://shopwarecommunity.slack.com)”&nbsp;@&nbsp;TaiKamilla_

Go here&nbsp;[https://slack.shopware.com](https://slack.shopware.com/)
