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. App Packaging & Development
  3. Erxes Implementation in Cloudron

Erxes Implementation in Cloudron

Scheduled Pinned Locked Moved App Packaging & Development
11 Posts 4 Posters 3.2k Views 5 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.
  • matbrgzM matbrgz

    Hello,

    I'm trying to implement Erxes in Cloudron but without sucess at this moment. Cloudron does not support docker compose and erxes uses it to build the image. Erxes use rabbitmq but cloudron does not have the addon for that.

    Could someone help me?

    Erxes Docs: https://docs.erxes.io/docs/deployment/deployment/deploymentDocker
    GitHub Erxes-App: https://github.com/matbrgz/erxes-app.git

    murgeroM Offline
    murgeroM Offline
    murgero
    App Dev
    wrote on last edited by
    #2

    @matbrgz not sure about docker-compose but rabbitmq can just be apt-get installed in the Dockerfile for the app.

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    1 Reply Last reply
    0
    • matbrgzM matbrgz

      Hello,

      I'm trying to implement Erxes in Cloudron but without sucess at this moment. Cloudron does not support docker compose and erxes uses it to build the image. Erxes use rabbitmq but cloudron does not have the addon for that.

      Could someone help me?

      Erxes Docs: https://docs.erxes.io/docs/deployment/deployment/deploymentDocker
      GitHub Erxes-App: https://github.com/matbrgz/erxes-app.git

      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by timconsidine
      #3

      @matbrgz I don't believe Cloudron supports docker-compose.

      I'm no expert but looking at their install script for install.sh, most of it can be achieved without needing docker-compose anyway.

      My first step looking at an app with a view to packaging it is to search if the app has a Dockerfile, then to modify that for Cloudron.

      EDIT : looking at the content of their install.sh, if you are working from cloudron base image 4.0xxx, all of it is redundant apart from the last line
      sudo npm install -g create-erxes-app -y
      Maybe your Dockerfile that you are constructing should use that and then further steps as advised in step 4.
      Plus setting up DBs in your Dockerfile.

      EDIT 2 :
      if I was attempting to package this, I would work from their steps in https://docs.erxes.io/docs/deployment/installation/installation-ubuntu
      The only things they use docker for are to work with mongo, redis and rabbitmq.
      The rest of their steps (8 onwards) would need implementing (if needed) in your Dockerfile, plus setting up mongo, redis, rabbitmq in your Dockerfile first.

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

        For rabbitmq, you just have to run it install the docker image itself via supervisor. Something like https://github.com/mcassiano/supervisord-rabbitmq-docker/blob/21144d4f22d4d57517f3aa49742c49dceddc3a0e/rabbitmq.conf and also our tutorial code https://git.cloudron.io/cloudron/tutorial-supervisor-app

        1 Reply Last reply
        1
        • matbrgzM Offline
          matbrgzM Offline
          matbrgz
          wrote on last edited by
          #5

          Is some interested in a bounty for doing this for me?

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

            Just noticed that onlyoffice already has rabbitmq integration, if someone wants a reference. https://git.cloudron.io/cloudron/onlyoffice-app . It doesn't use supervisor, just starts rabbitmq in the background.

            1 Reply Last reply
            2
            • matbrgzM Offline
              matbrgzM Offline
              matbrgz
              wrote on last edited by
              #7

              GitHub updated with some updated in supervisor. I need to implement Erxes into Cloudron ASAP, please could someone help me?

              murgeroM 1 Reply Last reply
              0
              • matbrgzM matbrgz

                GitHub updated with some updated in supervisor. I need to implement Erxes into Cloudron ASAP, please could someone help me?

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #8

                @matbrgz Does it need to be in Cloudron, I've looked at the install steps, and it certainly could be done, but given how complicated it is and how long it would take, a small $10 VPS could get you up and running right now.

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

                matbrgzM 1 Reply Last reply
                1
                • murgeroM murgero

                  @matbrgz Does it need to be in Cloudron, I've looked at the install steps, and it certainly could be done, but given how complicated it is and how long it would take, a small $10 VPS could get you up and running right now.

                  matbrgzM Offline
                  matbrgzM Offline
                  matbrgz
                  wrote on last edited by matbrgz
                  #9

                  @murgero Yes, maybe I will implement this in a VPS, but our company is using Cloudron for all apps. This implementation will be great.

                  murgeroM girishG 2 Replies Last reply
                  1
                  • matbrgzM matbrgz

                    @murgero Yes, maybe I will implement this in a VPS, but our company is using Cloudron for all apps. This implementation will be great.

                    murgeroM Offline
                    murgeroM Offline
                    murgero
                    App Dev
                    wrote on last edited by
                    #10

                    @matbrgz I believe you can use Cloudron as an LDAP endpoint for authentication.

                    --
                    https://urgero.org
                    ~ Professional Nerd. Freelance Programmer. ~

                    1 Reply Last reply
                    1
                    • matbrgzM matbrgz

                      @murgero Yes, maybe I will implement this in a VPS, but our company is using Cloudron for all apps. This implementation will be great.

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

                      @matbrgz What's the current status of the package? Does it install and work OK?

                      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