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. Who could coach me into Dockerizing app for Cloudron ?

Who could coach me into Dockerizing app for Cloudron ?

Scheduled Pinned Locked Moved App Packaging & Development
dockercustom-appspackaging
17 Posts 5 Posters 2.8k Views 6 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.
  • fbartelsF fbartels

    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.

    JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #6

    @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
    
    fbartelsF 1 Reply Last reply
    0
    • JOduMonTJ JOduMonT

      @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
      
      fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #7

      @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).

      JOduMonTJ 1 Reply Last reply
      0
      • fbartelsF fbartels

        @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).

        JOduMonTJ Offline
        JOduMonTJ Offline
        JOduMonT
        wrote on last edited by
        #8

        @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 😜

        fbartelsF 1 Reply Last reply
        0
        • JOduMonTJ JOduMonT

          @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 😜

          fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #9

          @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.

          JOduMonTJ 1 Reply Last reply
          1
          • fbartelsF fbartels

            @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.

            JOduMonTJ Offline
            JOduMonTJ Offline
            JOduMonT
            wrote on last edited by
            #10

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

            fbartelsF 1 Reply Last reply
            0
            • JOduMonTJ JOduMonT

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

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by
              #11

              @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
              5
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #12

                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

                1 Reply Last reply
                5
                • fbartelsF Offline
                  fbartelsF Offline
                  fbartels
                  App Dev
                  wrote on last edited by
                  #13

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

                  1 Reply Last reply
                  0
                  • ultravioletU Offline
                    ultravioletU Offline
                    ultraviolet
                    App Dev
                    wrote on last edited by
                    #14

                    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
                    5
                    • JOduMonTJ Offline
                      JOduMonTJ Offline
                      JOduMonT
                      wrote on last edited by
                      #15

                      should start a PeerTube Channel ?

                      ultravioletU girishG 2 Replies Last reply
                      1
                      • JOduMonTJ JOduMonT

                        should start a PeerTube Channel ?

                        ultravioletU Offline
                        ultravioletU Offline
                        ultraviolet
                        App Dev
                        wrote on last edited by
                        #16

                        @JOduMonT I will consider that an option 🙂

                        1 Reply Last reply
                        1
                        • JOduMonTJ JOduMonT

                          should start a PeerTube Channel ?

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

                          @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
                          5
                          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