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

    Who could coach me into Dockerizing app for Cloudron ?

    App Packaging & Development
    docker custom-apps packaging
    5
    17
    665
    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.
    • JOduMonT
      JOduMonT last edited by girish

      Hi;

      I'm able to

      • install software on barebone and VM
      • use Docker and Docker-Compose

      such an example
      I'm able to run the Docker image statping on my Cloudron but not able to make it happen through the Cloudron Way.

      I would like to do so for

      • statping
      • invidious

      which both use Postgres

      and also isso

      So would be welling to coach me for few hours via anyDesk (or anything else) and how much would you charge me for this ?

      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels App Dev last edited by

        Hi @JOduMonT,

        I have already packaged up Statping for my own use. You can find it at https://git.cloudron.io/fbartels/statping-app.

        JOduMonT 1 Reply Last reply Reply Quote 4
        • N
          NCKNE last edited by

          I would also be interested in this. Maybe @girish and @nebulon could offer a (paid!) recorded webinar with some simple sample apps? Maybe even some more advanced "tutorials" later on? I would also be willing to pay for this, and most likely others as well. Recording these webinars and offering them in a web shop should not be too hard and this might be another source of income for cloudron and get more apps in the app store in the future.

          1 Reply Last reply Reply Quote 4
          • JOduMonT
            JOduMonT @fbartels last edited by

            @fbartels said in Who could coach me into Dockerizing app for Cloudron ?:

            I have already packaged up Statping for my own use. You can find it at https://git.cloudron.io/fbartels/statping-app.

            yes I saw it but it don't use PostgreSQL and last time I tried it the deployment never end.

            1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels App Dev last edited by

              the app is configured to use postgres (I think it was the recommended database by the author). If the deployment does not finish for you then it would be worth looking at the logs of the app in Cloudron.

              JOduMonT 1 Reply Last reply Reply Quote 1
              • JOduMonT
                JOduMonT @fbartels last edited by

                @fbartels said in Who could coach me into Dockerizing app for Cloudron ?:

                to use postgres

                your right, I looked at the wrong place to affirm this

                it is not working when I try to build your Dockerfile
                but work when I use your precompiled image

                so to resume

                not working

                git clone https://git.cloudron.io/fbartels/statping-app.git
                cd statping-app
                NOW=$(date +%s)
                docker build jodumont/statping:$NOW
                cloudron install --image jodumont/statping:$NOW
                

                working

                git clone https://git.cloudron.io/fbartels/statping-app.git
                cd statping-app
                cloudron install --image fbartels/com.github.statping.cloudronapp:20200526-140224-415e2d26b
                
                fbartels 1 Reply Last reply Reply Quote 0
                • fbartels
                  fbartels App Dev @JOduMonT last edited by

                  @JOduMonT said in Who could coach me into Dockerizing app for Cloudron ?:

                  docker build jodumont/statping:$NOW

                  This one would need to be docker build . -t jodumont/statping:$NOW else this command already fails. I am also missing a push to your registry. Looking at https://hub.docker.com/r/jodumont/statping/tags these still seem to be the Docker images provided by statping directly.

                  I would recommend to use the Makefile that is part of the repository. That way its a simple make build install (and from there one make update to build and update directly).

                  JOduMonT 1 Reply Last reply Reply Quote 0
                  • JOduMonT
                    JOduMonT @fbartels last edited by

                    @fbartels said in Who could coach me into Dockerizing app for Cloudron ?:

                    docker build . -t jodumont/statping:$NOW

                    yeah sorry, the dot is missing in my cut and past but this is not the issue
                    4e4368dc-fdd1-470b-b6d3-3f1f6f427853-image.png

                    but don't worry it's fine I prefer piggybagging you 😜

                    fbartels 1 Reply Last reply Reply Quote 0
                    • fbartels
                      fbartels App Dev @JOduMonT last edited by

                      @JOduMonT ok. fine by me.

                      Just that you are aware. The actual repo is https://hub.docker.com/repository/docker/fbartels/com.github.statping (I changed the name when adding the Makefile).

                      If you would want to debug the app not starting, then the output of cloudron logs -f (or make logs would be helpful.

                      JOduMonT 1 Reply Last reply Reply Quote 1
                      • JOduMonT
                        JOduMonT @fbartels last edited by

                        @fbartels what is the password to access the dashboard of statping because admin admin as suggested by statping don't work?

                        fbartels 1 Reply Last reply Reply Quote 0
                        • fbartels
                          fbartels App Dev @JOduMonT last edited by

                          @JOduMonT I already answered you via chat message, but for the sake of somebody else stumbling over this.

                          The app generates a random password at first startup. The password can be read out from /app/data/.env. From your local system you could simply run cloudron exec grep ADMIN_PASSWORD= .env.

                          I have just now also added a simple readme with this information.

                          1 Reply Last reply Reply Quote 5
                          • fbartels
                            fbartels App Dev last edited by

                            For those that would be interested as well. I have just created a live stream on Youtube for tomorrow 14:00 (CET). During that stream I want to show a bit how to make a Cloudron app and will use Matterbridge as the example for it.

                            I would timebox the whole stream to a max of two hours, lets see how far I'll get in that time, maybe I won't even need that much time.

                            There will be an unedited recording of the stream later on.

                            You can follow the stream at https://www.youtube.com/watch?v=RKcH2yJiLUo

                            1 Reply Last reply Reply Quote 5
                            • fbartels
                              fbartels App Dev last edited by

                              @fbartels I unfortunately have to postpone. I'll keep https://forum.cloudron.io/post/9623 updated.

                              1 Reply Last reply Reply Quote 0
                              • ultraviolet
                                ultraviolet App Dev last edited by

                                I am fairly new to packaging for Cloudron but I have a few packages under my belt. Once I get some time in my personal life I was going to write a series of blogs posts to help others out from my own experiences.

                                1 Reply Last reply Reply Quote 5
                                • JOduMonT
                                  JOduMonT last edited by

                                  should start a PeerTube Channel ?

                                  ultraviolet girish 2 Replies Last reply Reply Quote 1
                                  • ultraviolet
                                    ultraviolet App Dev @JOduMonT last edited by

                                    @JOduMonT I will consider that an option 🙂

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

                                      @JOduMonT Yup, we are waiting for the next peertube release to make it stable (there is a bug in current release which makes it hard to finish the setup) and then start posting videos there.

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