Who could coach me into Dockerizing app for Cloudron ?
-
Hi @JOduMonT,
I have already packaged up Statping for my own use. You can find it at https://git.cloudron.io/fbartels/statping-app.
@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.
-
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.
@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 imageso 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 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 imageso 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
@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 onemake update
to build and update directly). -
@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 onemake update
to build and update directly). -
@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
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
(ormake logs
would be helpful. -
@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
(ormake logs
would 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 runcloudron 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
-
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.