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

248 Topics 2.3k Posts

Subcategories


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

    33 Topics
    252 Posts
    D

    Hi everyone,

    I need help with the following tasks, specifically for use within Cloudron:

    Packaging a React App:

    I need assistance in setting up a React app to connect with Directus hosted on Cloudron.

    If possible, Iā€™d like a detailed SOP (Standard Operating Procedure) to follow for future setups.

    Setting Up a Node.js or Next.js App with React:

    I want to create a new MySQL database for this app, hosted on Cloudron, and need guidance on setting up and working with this database.

    Again, having an SOP for future reference would be highly appreciated.

    Iā€™m willing to pay for these services or would be grateful if someone could kindly share their expertise and the required SOPs.

    Thanks in advance!

  • Correct mongodb connection parameters?

    Solved
    6
    0 Votes
    6 Posts
    458 Views
    timconsidineT

    Cool, that makes it more concise and less open to mis-use (by me šŸ˜„ )

  • Dockerfile build error OpenSSL

    9
    0 Votes
    9 Posts
    2k Views
    timconsidineT

    All sorted.
    I cannot believe my own stupidity sometimes šŸ˜Š
    Don't put me in charge of an aircraft.
    Repo now at https://git.cloudron.io/timconsidine/snippet-box-cloudron

  • Localstorage & /app/data

    20
    1 Votes
    20 Posts
    1k Views
    robiR

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

  • 2 Votes
    11 Posts
    970 Views
    girishG

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

  • Error message when buliding sample NodeJS cloudron app

    5
    0 Votes
    5 Posts
    452 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
    550 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
    999 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
    2k 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
    14k 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
    92 Views
    No one has replied
  • Moving from packaged app to custom

    Solved
    5
    1 Votes
    5 Posts
    565 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
    481 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
    320 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
    792 Views
    KubernetesK

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

  • Sweep AI - Github issue code fixer, sends pull requests

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

    2
    0 Votes
    2 Posts
    176 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
    170 Views
    No one has replied
  • Whats special about cloudron/base docker image ?

    Moved Solved
    4
    0 Votes
    4 Posts
    499 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
    238 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
    1k Views
    girishG

    I left a note in that issue.