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

225 Topics 2.2k Posts

Subcategories


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

    31 Topics
    249 Posts
    fbartelsF

    Just doing a local build of your repo (outside of Cloudron) and modifying your start.sh so that output is done to the container, it reports as running on port 8000 (on localhost, but also globally). /healtcheck does not seem to exist (gives a 404), but / gives a 200 for me. On the browser however it just loads endlessly.

    Looking at the devtools on Chrome it tries to load a service worker (worker.js) which only gives a 404, but would anyways need https to function properly.

  • Localstorage & /app/data

    20
    1 Votes
    20 Posts
    342 Views
    robiR

    If you stop calling it AI, it will begin to make sense as a tool.

  • 2 Votes
    11 Posts
    352 Views
    girishG

    @ChristopherMag good point 😄 I will remember to use user.myregistry.com or something like that next time!

  • 0 Votes
    5 Posts
    192 Views
    ChristopherMagC

    I tried this on an Ubuntu 22.04 virtual machine and it worked properly as expected. I am not sure what the issue is but Windows 11 pro with Windows Subsystem for Linux 2 and Docker version 24.0.6 results in the no such file or directory.

    I did test other non cloudron related containers with Docker for windows using WSL2 and they worked fine.

    I also reconfigured docker for windows to use it's own VM hosted on Hyper V, no longer using Windows Subsystem for Linux 2, and it also had the same problem with no such file or directory.

    I will stick to running the build process from a Ubuntu VM for now and at present it doesn't look like Docker for Windows, however it is configured, is usable for building containers to be run on cloudron.

  • Idea: Unofficial Custom App Import Repo

    7
    6 Votes
    7 Posts
    183 Views
    robiR

    @timconsidine right, much of the CLI finesse needed to get something running can be snapshotted via the app backup, which when restored just runs without fiddling.

    So yes, more App happiness on Cloudron.

  • Custom node app not starting

    14
    0 Votes
    14 Posts
    269 Views
    timconsidineT

    I have now created a repo for my custom package : https://git.cloudron.io/timconsidine/smsvoip-cloudron/

    This packages a "desktop SMS" app which allows you to send/receive SMS on a virtual number (not your phone's number).

    It is also useful for "fake" registrations for things like WhatsApp etc.

  • Mosquitto and TLS certs question

    13
    1 Votes
    13 Posts
    1k Views
    B

    @jadudm I'm looking for a mosquitto Cloudron package and found this topic. Do you have any plans to open-source the package you created?

  • Regular App Packaging Event

    Moved
    89
    13 Votes
    89 Posts
    7k Views
    micmcM

    I cannot believe I'd missed this thread! The last 2 years have been much hectic for me, and me who was finally about to start learning the process of building apps for Cloudron. I'm of course willing to participate and contribute in this in any way. @marcusquinn good suggestion.

  • Testing code with a Monkey Wrench or two

    1
    1 Votes
    1 Posts
    55 Views
    No one has replied
  • Moving from packaged app to custom

    Solved
    5
    1 Votes
    5 Posts
    288 Views
    ruihildtR

    @robi I went ahead and created the App request thread: https://forum.cloudron.io/topic/9764/forgejo

  • Memory leak when custom image is deployed in cloudron

    Moved Solved
    6
    0 Votes
    6 Posts
    186 Views
    ruihildtR

    So the memory leak indeed seemed to be coming from the frequent health check.
    I customized the health check path and returned a simple response object, and it seems to do the trick.

    image.png

    I still think I have something incorrectly handled somewhere and if the website would have a lot of traffic, the issue would probably resurface.

    But it's not very likely, so I'll stick to YAGNI. (I'll keep an eye on the stats in any case.)

    Thanks for the help.

  • Fastify does not work on custom apps.

    Moved
    4
    0 Votes
    4 Posts
    131 Views
    girishG

    You can check if listen({ host: '0.0.0.0', port: 3000 }) makes it better.

  • App without Web Interface?

    10
    1 Votes
    10 Posts
    233 Views
    KubernetesK

    @nebulon Great, thanks for the information. I think having support for headless apps would be a nice feature in the future.

  • 2 Votes
    1 Posts
    73 Views
    No one has replied
  • Proxy Auth for Apps

    2
    0 Votes
    2 Posts
    61 Views
    girishG

    @Kubernetes yes. You can also add the optionalSso flag to indicate that the app can installed without it as well (so an option is provided at install time)

  • 2 Votes
    1 Posts
    105 Views
    No one has replied
  • 0 Votes
    4 Posts
    210 Views
    girishG

    The dockerfile is here . It's nothing special, just lots of packages on base ubuntu.

    To add to what's been said: our approach is the batteries included approach and it's optimized for developer/sysadmin productivity (as opposed to saving disk space). When we open a web terminal, we want all the common tools across all apps (ping, nc, telnet, tar, node, php, python what have you). The Web terminal and File manager have a bunch of tooling prerequisites - tar, zip, rar, jq, database clients (mysql/postgres/redis/mongo), etc for it work well.

    Any image will work including multi-stage builds. You have to pay attention to our deployment paradim though - https://docs.cloudron.io/packaging/cheat-sheet/#filesystem . Containers are run on a readonly fs, there is no way around this.

  • Packaging Teddit - How to redis database?

    3
    3 Votes
    3 Posts
    82 Views
    girishG

    You can look into bookstack-app , pixelfed-app , nextcloud-app for some apps that use redis

  • App with multiple endpoints. How to share addons?

    Unsolved
    17
    4 Votes
    17 Posts
    463 Views
    girishG

    I left a note in that issue.

  • AskCodi - Write tests & syntax faster

    1
    0 Votes
    1 Posts
    36 Views
    No one has replied
  • User Generated Packages?

    4
    0 Votes
    4 Posts
    109 Views
    jdaviescoatesJ

    For a while there was a WIP tag but people forgot to use it