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


Skip to content

App Packaging & Development

App package development & help

277 Topics 2.5k Posts

Subcategories


  • Looking to collaborate? Post here if you need help or willing to offer help.

    36 276
    36 Topics
    276 Posts
    robiR
    Make sure to try them with CCAI
  • Cloudron Typescript App Example Using Old Docker Base Image

    Moved Solved
    2
    0 Votes
    2 Posts
    360 Views
    nebulonN
    Thanks for the reminder, I have updated that file now with the new base image.
  • Need help resolving Error with Monero Node in Cloudron.

    Moved
    4
    2 Votes
    4 Posts
    781 Views
    J
    I think that is just the docker image and not the docker file - https://hub.docker.com/r/jacobmatrktippetts/monero-node
  • Can't install custom app anymore via CLI, constantly retrying

    Moved Solved
    3
    0 Votes
    3 Posts
    465 Views
    nebulonN
    Maybe a temporary issue with your private docker registry or otherwise. Lets see if next time we have more info to work with.
  • Downloading image fails, constantly retrying

    1
    0 Votes
    1 Posts
    182 Views
    No one has replied
  • Problems with Postgres Addon

    6
    0 Votes
    6 Posts
    1k Views
    E
    I solved the port issue as well. The problem occured when I tried to start an interactive shell, which counted as starting a second application inside the cloudron app, that's where the port conflict came from. If someone else is working with Elixir on Cloudron, you can start an interactive shell like this: /app/_build/prod/rel/APP/bin/APP remote
  • Crontab not running in custom LAMP

    Moved
    13
    1 Votes
    13 Posts
    2k Views
    girishG
    @alex-uxlabsmx should work now. there were a couple of issues in the crontab: '&' in the end of the cron line. this puts the command in the background. cronjobs are not run in background and instead run on a schedule. so, the '&' should be removed. 'source' command is a bash primitive. you have to wrap it in bash -c "source ... && anothercommand", for example seems to work after that.
  • read-only file system, rmdir '/dist'

    Moved
    8
    1 Votes
    8 Posts
    2k Views
    nebulonN
    I am not familiar with how nestjs works during startup, but something tries to wholesale rm the /dist folder. I guess it tries to rebuild the app on startup? You may have to copy the app from read-only to /run first thing in start.sh and then start the app and not symlink the folder? Just a guess though.
  • Update app : Read-only file system

    Moved Solved
    8
    1 Votes
    8 Posts
    1k Views
    J
    Glad you got it sorted out!
  • Langfuse packaging issue

    1
    0 Votes
    1 Posts
    169 Views
    No one has replied
  • How to package third-party apps, with example

    5
    1 Votes
    5 Posts
    984 Views
    E
    Thank you for the detailed response! Since this app doesn't run the LLM itself, the system requirements are less heavy. But wouldn't everything that wasn't attached to Cloudron just run inside the container? I mean, let's say I write a dockerfile for this app, but "forget" to use the postgres addon of cloudron. Wouldn't the app still run, but with the database inside the app, so it would be overwritten upon updating? Other than that, this app seems to have a sandbox container and one for vector databases, which couldn't be rebuilt easily in Cloudron.
  • App packaging tip for easier building

    4
    4 Votes
    4 Posts
    888 Views
    LanhildL
    @girish To make it more clear, I have made a template repository with all the files and scripts I usually use for my Cloudron apps. In the future, we might benefit from adopting such a strategy for the Cloudron CLI init script by using these files as a template/starter Cloudron app project. It'd make maintenance easier, more uniform, and make the process less daunting for new app devs. https://github.com/Lanhild/starter-cloudron
  • Multi-Stage Dockerfiles

    10
    5 Votes
    10 Posts
    2k Views
    girishG
    @Lanhild yup, we already started using multi-stage builds by now. For app store, you have to pin the images though. Using ":latest" is not good will have to be changed.
  • Question about app versions updates

    Solved
    4
    1
    1 Votes
    4 Posts
    745 Views
    LanhildL
    Got it. Thanks for the answer!
  • App wishlist - raw data

    4
    3 Votes
    4 Posts
    835 Views
    E
    @girish scroll and copy > chatgpt
  • 1 Votes
    1 Posts
    319 Views
    No one has replied
  • Help needed to package KoboToolBox & iHRIS V5 apps

    2
    0 Votes
    2 Posts
    384 Views
    necrevistonnezrN
    There‘s a whole category for that: https://forum.cloudron.io/category/5/app-wishlist I‘d suggest creating one topic per app. If your app generates enough interest, some kind soul might gift you (and us) with their spare time
  • Put reverse-proxy in front of arbitrary apps

    4
    1 Votes
    4 Posts
    917 Views
    nebulonN
    It would reach it via the public domain I would guess, so it is not dependent on the local docker network addresses. All this is not an elegant solution for sure but to have this well supported we would need to have a quite sophisticated reverseproxy/nginx config UI somehow.
  • Pocketbase packaging

    4
    1 Votes
    4 Posts
    951 Views
    T
    i have to test it in production so i've done it here : https://git.cloudron.io/nils/pocketbase i may improve this package ,handling Cloudron user management and email configuration if people or i find interest in it .
  • Postgres Addon

    Moved addons
    9
    1 Votes
    9 Posts
    2k Views
    girishG
    @ekevu123 yes, of course, you add do whatever you want in that database (it's no different from an doing whatever it wants with the database). There is a guide to connect via ssh - https://docs.cloudron.io/guides/connect-postgresql/
  • install custom app via private registry and cloudron build

    7
    4 Votes
    7 Posts
    2k Views
    bmannB
    @rosano woo hoo! Thanks for this not having to learn much of Docker tutorial!