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. Support
  3. Reading Wekan Mongo DB from Metabase/Grafana

Reading Wekan Mongo DB from Metabase/Grafana

Scheduled Pinned Locked Moved Solved Support
mongodbwekanmetabasegrafana
3 Posts 2 Posters 744 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.
  • ChristopherMagC Offline
    ChristopherMagC Offline
    ChristopherMag
    wrote on last edited by girish
    #1

    I would like to create some Kanban based dashboards, like cumulative flow diagrams, cycle time reporting, etc. using the data in the Mongo DB instance used by Wekan.

    I believe I can create the dashboard I would like using Metabase and/or Grafana with the Wekan Mongo DB instance as the datasource.

    What would be the right way to go about exposing the Mongo DB instance used by Wekan to inbound connections from Metabse and/or Grafana?

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

      @ChristopherMag If the Metabase/Grafana is in the same Cloudron , then you can :

      • Cloudron Dashboard -> Wekan -> Console -> Web Terminal
      • env | grep CLOUDRON_MONGODB. This gives mongodb credentials to configure metabase and grafana.

      If your Metabase/Grafana is hosted outside Cloudron, it's more complicated since we don't have a way to expose the database and we don't recommend this since we have not vetted exposing a database directly to the internet for security. One approach is to setup an SSH tunnel, but let me know if you want to go down this route.

      1 Reply Last reply
      2
      • ChristopherMagC Offline
        ChristopherMagC Offline
        ChristopherMag
        wrote on last edited by
        #3

        I am trying to only do this from the Cloudron hosted versions of Metabase/Grafana.

        I followed your instructions and this worked perfectly, took the username, password, port, host, and database name from the environment variables within the Wekan web console, entered them in Metabase, and was able to connect and see the data.

        Thank you!

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