Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Erxes Implementation in Cloudron

    App Packaging & Development
    4
    11
    1577
    Loading More Posts
    • 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.
    • matbrgz
      matbrgz last edited by 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

      murgero timconsidine 2 Replies Last reply Reply Quote 0
      • Referenced by  matbrgz matbrgz 
      • murgero
        murgero App Dev @matbrgz last edited by

        @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. ~
        Matrix: @murgero:urgero.org

        1 Reply Last reply Reply Quote 0
        • timconsidine
          timconsidine @matbrgz last edited by timconsidine

          @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 Reply Quote 2
          • girish
            girish Staff last edited by girish

            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 Reply Quote 1
            • matbrgz
              matbrgz last edited by

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

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                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 Reply Quote 2
                • matbrgz
                  matbrgz last edited by

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

                  murgero 1 Reply Last reply Reply Quote 0
                  • murgero
                    murgero App Dev @matbrgz last edited by

                    @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. ~
                    Matrix: @murgero:urgero.org

                    matbrgz 1 Reply Last reply Reply Quote 0
                    • matbrgz
                      matbrgz @murgero last edited by 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.

                      murgero girish 2 Replies Last reply Reply Quote 0
                      • murgero
                        murgero App Dev @matbrgz last edited by

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

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

                        1 Reply Last reply Reply Quote 1
                        • girish
                          girish Staff @matbrgz last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB