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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Rocket.Chat
  3. Rocketchat - custom envs on running instance

Rocketchat - custom envs on running instance

Scheduled Pinned Locked Moved Solved Rocket.Chat
9 Posts 3 Posters 3.1k Views 3 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.
  • P Offline
    P Offline
    parhelium
    wrote on last edited by parhelium
    #1

    Hi,

    In docs I found information:

    You can set custom environment variables using cloudron env.
    

    How I can set custom envs for RocketChat instance already running?
    I see it is possible here:
    https://docs.cloudron.io/custom-apps/cli/#environment-variables

    However can I define custom ENVs in cloudron dashboard ?

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #9

      @parhelium I have published a new package 2.13.1. You can edit /app/data/env to add custom vars.

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

        There is currently no UI for setting those as it is more tailored towards using Cloudron as a deployment platform for app developers.

        What is the use-case for Rocket.chat here? Just to understand what can be set so we can see how to support that in a way we can also test that for updates.

        P 1 Reply Last reply
        0
        • nebulonN nebulon

          There is currently no UI for setting those as it is more tailored towards using Cloudron as a deployment platform for app developers.

          What is the use-case for Rocket.chat here? Just to understand what can be set so we can see how to support that in a way we can also test that for updates.

          P Offline
          P Offline
          parhelium
          wrote on last edited by parhelium
          #3

          @nebulon
          The general architecture is to install apps on our client's request on cloudron and every app is integrated with our app.

          Example:
          Instead of reinventing the wheel and writing chat from scratch we are going to embed chat ( RocketChat or Mastodon, etc ) in our app.
          Next phase would be to install custom bots on the same instance of cloudron. In the end we will have X ( 2-10 ) apps installed on cloudron which are integrated and cloudron help us take care about installing, certificates, users management, backup&restore.

          We have also ability to setup separate cloudron for each client.

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

            I see, however where do the ENV variables come into play specifically for Rocket.chat? I would assume using some Rocket.chat REST API for setting up the integration might be more useful.

            P 1 Reply Last reply
            0
            • nebulonN nebulon

              I see, however where do the ENV variables come into play specifically for Rocket.chat? I would assume using some Rocket.chat REST API for setting up the integration might be more useful.

              P Offline
              P Offline
              parhelium
              wrote on last edited by parhelium
              #5

              @nebulon

              We need CREATE_TOKENS_FOR_USERS=trueto login properly users in Rocket.Chat from another app.

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

                Is there any harm in enabling that variable by default in the app package?

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by girish
                  #7

                  From my reading of https://github.com/RocketChat/Rocket.Chat/issues/16159, setting that env will allow normal users to use the API. @nebulon maybe we can just source in a env file on startup to make this easier?

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

                    Good idea, I think that makes most sense. I wasn't able to quickly find any document listing all available env vars for RocketChat. If such a document exists, might be good to add to our docs then.

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @parhelium I have published a new package 2.13.1. You can edit /app/data/env to add custom vars.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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