• KKevo

      Moolevel 0

    I’d like to add flarum onto my server and integrate it into the mailcow docker setup. I’m pretty much a newb with docker having only really used it locally on my laptop to play around with various things.

    I have mailcow running successfully and am liking how that’s going, but would like to add a forum software, and flarum looks pretty good. It seems like I should be able to use the existing nginx and mariadb.

    I’m curious if anyone has already done this and has any pointers or if there might be a similar integration I could use as a study tool for the integration.

    TIA

    • Thanks for the advice. I found a docker image that seems to work well.
      https://hub.docker.com/r/crazymax/flarum

      I have added a separate config file in the mailcow nginx config to proxy to it. It seems to be working well this way.

      I’m not sure what benefit there would be to adding in another web server for proxy duties, but maybe I’m missing some particular scenarios where it would be especially beneficial.

    • EETNyx

        Moolevel 50

      If you want to use existing database instance that is used for Mailcow for this forum, than don’t.

      You do not want to investigate what is wrong in case of Mailcow change something in database, or change database to Postgresql or somethink else and vice versa.

      Keep your forum separate, if you want some connection between two of those, use standard public facing interfaces like IMAP or API.

      Have something to say?

      Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

      • KKevo

          Moolevel 0
        • Best Answerset by Kevo

        Thanks for the advice. I found a docker image that seems to work well.
         Icon https://hub.docker.com/r/crazymax/flarum

        I have added a separate config file in the mailcow nginx config to proxy to it. It seems to be working well this way.

        I’m not sure what benefit there would be to adding in another web server for proxy duties, but maybe I’m missing some particular scenarios where it would be especially beneficial.

        • esackbauer

          • Community Hero
          Moolevel 362

        It depends on how you added the proxy config.
        It might be overwritten by a mailcow update.
        So its a good thing to have an independent reverse proxy in front of it. But then certificates get more complicated.

        • KKevo

            Moolevel 0

          I just followed the custom sites guidance in the docs, so my config file should survive any updates and it’s just one file, so pretty easy to replace if something does go wrong. I’m also running everything on Proxmox so I’ve got snapshots and backups if I get any big surprises. :-)

          No one is typing