So i've been looking, and it seems that at the moment, there is no way to run custom NodeJS applications in a cloudron environment. Using Node from a container for things like Slack integrations or other webhook like functions would be ideal, and having the ability to install extensions with npm makes that possible.
I bring this up because in the lamp stack, npm cannot install extensions.
Would it be possible to build a NodeJS container?
Indeed we do not have currently other runtime/framework apps like LAMP. Mostly LAMP is there since it is so common for webservers to have that, especially if a user comes from shared hosting environments.
One options for you might be to simply create an app package for your nodejs application on your own. Our base image already has everything in it, so if you are comfortable with the commandline it should be easier that way, especially with regards to specific version requirements. We have some hello world nodejs app package example at https://cloudron.io/documentation/custom-apps/tutorial/#sample-app
@nebulon Ill throw one together in a little while and see if I can get it to work as expected! Thanks, I didnt even think about the sample app
@nebulon I built myself a node image with the endpoint I had built previously and it works as expected. It was rather easy. Thank you for the heads up
For others looking for examples, there's a bunch of custom app templates I made that should help getting started: