Appwrite - A Firebase Alternative
-
This post is deleted!
-
Forget my last post. Got it working with the help of the devs in their discord. They are quick to respond and super helpful.
-
Name-dropped cloudron and linked to this post in their community discord. I'm hoping theres interest!
-
I think the biggest hurdles would be influxdb and mariadb being needed? Perhaps someone else in @appdev can chime in.
EDIT: We might be in luck: https://github.com/appwrite/lite
-
@atrilahiji Thats exciting
-
Would this be a roadblock with the MySQL add on @girish ?
EDIT: been playing with this all evening with no luck. Perhaps I just don't fully understand how to package an app that is already using a container. I know thats sort of how @fbartels did his drone package, but I don't fully understand this. Anyone in @appdev interested in this and would like to hop in a meeting some time to get this one working?
-
@atrilahiji said in Appwrite - A Firebase Alternative:
I just don't fully understand how to package an app that is already using a container. I know thats sort of how @fbartels did his drone package,
I am not quite sure how multiple containers come into play. Especially https://github.com/appwrite/lite is a single container.Ah it uses the docker socket at https://github.com/appwrite/lite/blob/a735e153f9e3e2ea76c27ea038e78d89162cd667/docker-compose.yml#L14 to start additional containers.The main difference to my Drone app is that additional runners are not actually run on Cloudron, but only the Dashboard is hosted on it and runners are running everywhere else.
Apart from the odd choice to write this in php what I find difficult is that the same container that needs access to the Docker socket is also exposed to the internet. Which means someone just needs to break into the appwrite process to take over the while host. From a security perspective these two parts of the software should be separated.
-
@fbartels yeah true. I also just noticed that their lite container isn’t public. Or wasn’t public last night when I tried. I guess they’re still working on it. It’s what they are using to set up their digital ocean one click app.
And yeah I’m also scratching my head at the choice of not splitting it out and the use of PHP. Seems like an odd choice for any modern app when there are so many better alternatives.
-
@atridad Alright thanks for the reply!