Who could coach me into Dockerizing app for Cloudron ?
JOduMonT last edited by girish
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
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 ?
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.
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.
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.
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
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
git clone https://git.cloudron.io/fbartels/statping-app.git cd statping-app cloudron install --image fbartels/com.github.statping.cloudronapp:20200526-140224-415e2d26b
docker build jodumont/statping:$NOW
This one would need to be
docker build . -t jodumont/statping:$NOWelse 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 updateto build and update directly).
docker build . -t jodumont/statping:$NOW
yeah sorry, the dot is missing in my cut and past but this is not the issue
but don't worry it's fine I prefer piggybagging you
@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 logswould be helpful.
@fbartels what is the password to access the dashboard of statping because admin admin as suggested by statping don't work?
@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.
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
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.
should start a PeerTube Channel ?
@JOduMonT I will consider that an option
@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.