Yafar_iSiYafar_iSi MemberComments: 6 Received thanks: 0 Member since: June 17 edited July 16

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?

Comments

  • Moritz NaczenskiMoritz Naczenski AdministratorsComments: 8191 Received thanks: 2422 edited July 16 Member since: September 2013

    Since this is not fully tested / implemented yet, there is no documentation for it. This will be available 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.

    https://symfony.com/doc/current/reference/configuration/framework.html

     

    Thanked by 1Yafar_iSi
  • Yafar_iSiYafar_iSi MemberComments: 6 Received thanks: 0 Member since: June 17

    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? 

    Thanks!

  • Moritz NaczenskiMoritz Naczenski AdministratorsComments: 8191 Received thanks: 2422 edited July 30 Member since: September 2013

    The configuration should look somewhat like the one mentioned in the section "Symfony Configuration" of this blog article: 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.

Sign In or Register to comment.