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

227 Topics 2.2k Posts

Subcategories


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

    31 Topics
    250 Posts
    JOduMonTJ

    @marcusquinn said in Poll: Freelance Availability for Retainers:

    I feel like all this should have been done 20 years ago and Sys Admin been a professional rate expectation like any other profession - but only Microsoft seem to have cracked that, at great cost to freedoms.

    RedHat and SUSE also cracked it..

    So how it goes ?
    I'm also in IT since forever; start programming at 8 years old in BASIC then building network with IPX/SPX, ...
    anyway
    I also had this kind of idea, like where old Geek back wise kids to gain confidence and clients;
    it was in 2020 when the C.H.A.T.O.N.S. started.

  • Process is getting killed by cloudron

    Moved
    9
    0 Votes
    9 Posts
    199 Views
    girishG

    @sarthak-narayan Set a memoryLimit say 2GB or something in the manfiest - https://docs.cloudron.io/packaging/manifest/#memorylimit . Then, update the app.

    If yes then is it only present in the free version or in the paid version as well? Also if its present in the paid version then how can I increase the RAM requirements of the container?

    All this is not related to paid/free .

  • Correct mongodb connection parameters?

    Solved
    6
    0 Votes
    6 Posts
    139 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
    711 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
    428 Views
    robiR

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

  • 2 Votes
    11 Posts
    410 Views
    girishG

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

  • 0 Votes
    5 Posts
    222 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
    215 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
    325 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
    57 Views
    No one has replied
  • Moving from packaged app to custom

    Solved
    5
    1 Votes
    5 Posts
    308 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
    205 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
    145 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
    295 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
    80 Views
    No one has replied
  • Proxy Auth for Apps

    2
    0 Votes
    2 Posts
    74 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
    119 Views
    No one has replied
  • 0 Votes
    4 Posts
    230 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
    100 Views
    girishG

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