Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. How to use redis in n8n

How to use redis in n8n

Scheduled Pinned Locked Moved Solved N8N
12 Posts 6 Posters 3.0k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nennogabrielN Offline
    nennogabrielN Offline
    nennogabriel
    wrote on last edited by
    #1

    Is there any way to create a redis instance for n8n ?
    I need to use redis to create a fast cache solution for some workflows. but I did not found any way to how can I install or add a redis instance to connect in the n8n instance.

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      This is currently only possible on Cloudron if we add the redis addon to the n8n package in the CloudronManifest.json.

      Given that this is a separate docker container, can you give more background for what it is used there and with which extension, so we can discuss if its worth it or if we should seek some other custom solution.

      nennogabrielN 2 Replies Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon

        This is currently only possible on Cloudron if we add the redis addon to the n8n package in the CloudronManifest.json.

        Given that this is a separate docker container, can you give more background for what it is used there and with which extension, so we can discuss if its worth it or if we should seek some other custom solution.

        nennogabrielN Offline
        nennogabrielN Offline
        nennogabriel
        wrote on last edited by
        #3

        @nebulon but in that way i should update n8n manualy? there are not a way to make it run with a enviroment variable?

        1 Reply Last reply
        0
        • nebulonN nebulon

          This is currently only possible on Cloudron if we add the redis addon to the n8n package in the CloudronManifest.json.

          Given that this is a separate docker container, can you give more background for what it is used there and with which extension, so we can discuss if its worth it or if we should seek some other custom solution.

          nennogabrielN Offline
          nennogabrielN Offline
          nennogabriel
          wrote on last edited by
          #4

          @nebulon nice... i follow the docs and get it working 😄

          I will lost automatic updates, but ok. I have redis now 😄

          SCR-20230218-nwp.png

          girishG Z 2 Replies Last reply
          0
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #5

            couldn't one simply use any existing redis service from another container?

            Conscious tech

            nennogabrielN 1 Reply Last reply
            1
            • girishG girish has marked this topic as solved on
            • nennogabrielN nennogabriel

              @nebulon nice... i follow the docs and get it working 😄

              I will lost automatic updates, but ok. I have redis now 😄

              SCR-20230218-nwp.png

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @nennogabriel we will look into adding "optional redis" in the coming releases.

              1 Reply Last reply
              1
              • robiR robi

                couldn't one simply use any existing redis service from another container?

                nennogabrielN Offline
                nennogabrielN Offline
                nennogabriel
                wrote on last edited by
                #7

                @robi yes. I didnt thing about this. simple and good.

                1 Reply Last reply
                1
                • nennogabrielN nennogabriel

                  @nebulon nice... i follow the docs and get it working 😄

                  I will lost automatic updates, but ok. I have redis now 😄

                  SCR-20230218-nwp.png

                  Z Offline
                  Z Offline
                  zonzonzon
                  wrote on last edited by
                  #8

                  @nennogabriel How do you do that? Can you share with everyone how to do it? Thank you.

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    Nico
                    wrote on last edited by
                    #9

                    Hi !
                    I'm looking at your services, and wonder if Posgresql and Redis are integrated into your instances of n8n ?
                    Thanks !

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #10

                      The main database for the n8n package is Postgres on Cloudron and that is integrated. Redis is not at the moment.

                      N 1 Reply Last reply
                      0
                      • nebulonN nebulon

                        The main database for the n8n package is Postgres on Cloudron and that is integrated. Redis is not at the moment.

                        N Offline
                        N Offline
                        Nico
                        wrote on last edited by
                        #11

                        @nebulon thanks for your reply ! If I do have an external Redis, on the same hoster, but as you said, not integrate within Cloudron, should I use Redis with n8n ?

                        1 Reply Last reply
                        0
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #12

                          You should be able to integrate your external redis via env variables https://docs.cloudron.io/apps/n8n/#custom-env

                          upstream docs for this are at https://docs.n8n.io/hosting/configuration/environment-variables/queue-mode/

                          1 Reply Last reply
                          1
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search