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. MiroTalk
  3. Configuration System Overhaul - from MiroTalk SFU 1.8.00

Configuration System Overhaul - from MiroTalk SFU 1.8.00

Scheduled Pinned Locked Moved MiroTalk
7 Posts 4 Posters 275 Views 4 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.
    • avatar1024A Offline
      avatar1024A Offline
      avatar1024
      wrote on last edited by avatar1024
      #1

      Just to let everyone know this change in config has landed with MiroTalk SFU 1.8.00, but while the MiroTalk version has been updated on Cloudron, the new config approach is not yet the default on the Cloudron package. @staff, I'm sure you're aware of this change but is it on your radar to upgrade the package to make use of this, or not really and you expect / would like someone from the community to do it?

      IMPORTANT UPDATE šŸš€
      Configuration System Overhaul
      ✨ What's New?
      We've revamped the configuration system for improved security, maintainability, and scalability!

      šŸ“ Enhanced config.js Structure

      āœ… Modular Organization – Settings grouped by features (API, SFU, TURN, etc.).
      āœ… Type-Safe Defaults – Automatic validation for all configuration options.
      āœ… Self-Documenting – Clear descriptions for every parameter.
      āœ… Dev-Friendly – Pre-configured presets for local development.
      

      šŸ” New .env File

      āœ… Centralized Secrets – Sensitive data (API keys, credentials) now exclusively in .env.
      āœ… Docker/K8s Ready – Seamless integration for containerized deployments.
      āœ… 12-Factor App Compliance – Ideal for cloud-native environments.
      

      ⚔ Key Benefits

      šŸ”¹ Security First – No more hardcoded secrets in JavaScript files.
      šŸ”¹ Faster Debugging – Intuitive grouping reduces configuration headaches.
      šŸ”¹ Scalability – Designed for CI/CD and orchestration tools like Kubernetes.
      

      šŸ› ļø Migration Guide (not sure this is recommended for Cloudron)

      Backup your existing config.js and .env files.
      Copy the new templates:
      
      cp app/src/config.example.js app/src/config.js
      cp .env.template .env
      
      Migrate secrets from your old config to .env.
      Update docker-compose.yml with the new volumes:
      
      volumes:
        - ./app/src/config.js:/src/app/src/config.js:ro
        - ./.env:/src/.env:ro
      
      Restart your instance.
      
      1 Reply Last reply
      2
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by nebulon
        #2

        The Cloudron package already ships mirotalk sfu 1.8.2 with adjusted configs. The Cloudron package had a custom config.js in place from the start, we might see how to support the env file approach in the future.

        Would be good to have the links to such readme or release resources in the future instead of pasting here. This would avoid duplication and thus the risk to quickly have outdated info here.

        avatar1024A 1 Reply Last reply
        2
        • nebulonN nebulon

          The Cloudron package already ships mirotalk sfu 1.8.2 with adjusted configs. The Cloudron package had a custom config.js in place from the start, we might see how to support the env file approach in the future.

          Would be good to have the links to such readme or release resources in the future instead of pasting here. This would avoid duplication and thus the risk to quickly have outdated info here.

          avatar1024A Offline
          avatar1024A Offline
          avatar1024
          wrote on last edited by avatar1024
          #3

          @nebulon said in Configuration System Overhaul - MiroTalk SFU 1.8.00:

          The Cloudron package had a custom config.js in place from the start, we might see how to support the env file approach in the future.

          Thanks for the info and clarification.

          @nebulon said in Configuration System Overhaul - MiroTalk SFU 1.8.00:

          Would be good to have the links to such readme or release resources in the future instead of pasting here. This would avoid duplication and thus the risk to quickly have outdated info here.

          MiroTalk posts announcement on a Discord channel so unfortunately there isn't another direct link to announcements. I posted this one here as it was a major change in config that could potentially affect Cloudron users (as it hadn't been rolled out as part of the usual update of Cloudron app package).

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

            Ah thanks for letting us know. I rarely hang out on discord these days, given my focus on mostly selfhosted things šŸ™‚

            avatar1024A 1 Reply Last reply
            2
            • nebulonN nebulon

              Ah thanks for letting us know. I rarely hang out on discord these days, given my focus on mostly selfhosted things šŸ™‚

              avatar1024A Offline
              avatar1024A Offline
              avatar1024
              wrote on last edited by avatar1024
              #5

              @nebulon said in Configuration System Overhaul - MiroTalk SFU 1.8.00:

              Ah thanks for letting us know. I rarely hang out on discord these days, given my focus on mostly selfhosted things šŸ™‚

              Very much the same, in fact I recreated a Discord account just to check out MiroTalk info as I had issues with my instance šŸ™‚

              Also I've updated the original post to make it clearer I'm pointing out to the change in config rather than the MiroTalk version that hasn't landed on Cloudron.

              1 Reply Last reply
              1
              • canadaduaneC Offline
                canadaduaneC Offline
                canadaduane
                wrote on last edited by
                #6

                I just noticed they have mattermost integration! From the .env.example file:

                # Mattermost Integration
                MATTERMOST_ENABLED=false                          # Enable Mattermost (true|false)
                MATTERMOST_SERVER_URL=YourMattermostServerUrl     # Mattermost server URL
                MATTERMOST_USERNAME=YourMattermostUsername        # Mattermost username
                MATTERMOST_PASSWORD=YourMattermostPassword        # Mattermost password
                MATTERMOST_TOKEN=YourMattermostToken              # Mattermost slash command token
                MATTERMOST_COMMAND_NAME=/sfu                      # Mattermost command name
                MATTERMOST_DEFAULT_MESSAGE=Here is your meeting room: # Mattermost default message
                

                Coming from a Slack-at-work setup with huddles (video meetings) this is really cool.

                jdaviescoatesJ 1 Reply Last reply
                2
                • canadaduaneC canadaduane

                  I just noticed they have mattermost integration! From the .env.example file:

                  # Mattermost Integration
                  MATTERMOST_ENABLED=false                          # Enable Mattermost (true|false)
                  MATTERMOST_SERVER_URL=YourMattermostServerUrl     # Mattermost server URL
                  MATTERMOST_USERNAME=YourMattermostUsername        # Mattermost username
                  MATTERMOST_PASSWORD=YourMattermostPassword        # Mattermost password
                  MATTERMOST_TOKEN=YourMattermostToken              # Mattermost slash command token
                  MATTERMOST_COMMAND_NAME=/sfu                      # Mattermost command name
                  MATTERMOST_DEFAULT_MESSAGE=Here is your meeting room: # Mattermost default message
                  

                  Coming from a Slack-at-work setup with huddles (video meetings) this is really cool.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #7

                  @canadaduane FYI Nextcloud Talk does chat plus video meetings too.

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  2
                  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