Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appwrite [Lite / Slim / Mini / Zero] #547

Open
eldadfux opened this issue Sep 21, 2020 · 20 comments
Open

Appwrite [Lite / Slim / Mini / Zero] #547

eldadfux opened this issue Sep 21, 2020 · 20 comments
Assignees
Labels
enhancement New feature or request

Comments

@eldadfux
Copy link
Member

eldadfux commented Sep 21, 2020

We need to design a single Docker container that can run all of the Appwrite services and internal processes using Supervisord. This should be a feature with Appwrite minimum, must-have features (ClamAV disabled, no need for Traefik). This is something we need to allow developers to run Appwrite easily on low-end systems and 1-click deployment services (Raspberry PI, Free hosting tiers, Heroku, KintoHub, and others).

The new container can extend/copy the Dockerfile we're using in branch 0.7.x and should add on top of its installations for all our 3rd party containers and run all internal process (scheduler + workers) as shown in the docker-compose file: https://github.com/appwrite/appwrite/blob/e4ff592eacc29000d04d0ba8c433b25e8a28c9bd/docker-compose.yml

This issue should be managed as a standalone repo that we'll later merge under the appwrite namespace.

@eldadfux eldadfux added backlog Issues waiting in the backlog enhancement New feature or request good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed labels Sep 21, 2020
@eldadfux eldadfux added this to To do in Backlog Sep 21, 2020
@ghost
Copy link

ghost commented Sep 24, 2020

Hi! Can I take this issue? Would be glad to start contributing to Appwrite and this issue looks like a great beginning.

@eldadfux eldadfux assigned ghost Sep 24, 2020
@eldadfux
Copy link
Member Author

Yeh sure @qt-sergal. I have assigned you with the issue. I'll open a separate repo for you to submit a PR with the new Dockerfile. Please reach out to me on Discord if you have any question.

https://appwrite.io/discord

@ghost
Copy link

ghost commented Sep 24, 2020

Okay! Great, I will start working on it right away.

@eldadfux
Copy link
Member Author

Great! this is the new repo: https://github.com/appwrite/lite the name is temporary as we want to put it to a community vote :)

@ritwikchakraborty123
Copy link

Sir I also want to contribute or may be collaborate with other contributer

@appwrite appwrite deleted a comment from Jacimartini98 Oct 4, 2020
@appwrite appwrite deleted a comment from Jacimartini98 Oct 4, 2020
@Arunoday-bhattacharjee
Copy link

Hey I would also like to contribute to this issue . Can I help in any way?

@eldadfux
Copy link
Member Author

Hey @qt-sergal, would be great if you could post an update about your progress with this issue. 🙏🏻

@ghost
Copy link

ghost commented Oct 15, 2020

Hi! Sorry, I am already done working on it, just got busy and wasn't sure if i should pull request things part-by-part or all at once.
Will create a pull request to the other repository later today.

@eldadfux
Copy link
Member Author

@qt-sergal That's great, looking forward!

@eldadfux
Copy link
Member Author

Hey @qt-sergal any updates? sorry for nudging...

@ghost
Copy link

ghost commented Oct 17, 2020

Really sorry for stalling. Due to the situation I told you about before in Direct Messages, I don't have enough time. Regarding the PR i mentioned earlier - i tested it more, locally and encountered quite many problems with the required setup. I can still send it if you want me to.

@ghost ghost removed their assignment Oct 17, 2020
@eldadfux
Copy link
Member Author

@qt-sergal yeh, please send it or submit as a draft PR, and maybe I can try and help with some of the problems.

@eldadfux
Copy link
Member Author

@qt-sergal would you like to still work on it? should I review the PR? Please let me know.

@eldadfux
Copy link
Member Author

This issue is up for grabs again.

@Glide7 Glide7 added dwoc and removed work in progress backlog Issues waiting in the backlog labels Dec 15, 2020
@kodumbeats
Copy link
Contributor

Can this issue be assigned to me? I'd like to see Appwrite on my pi cluster.

@eldadfux
Copy link
Member Author

eldadfux commented Jan 1, 2021

@kodumbeats we would love your help, but this is probably the more relevant issue for running Appwrite Raspberry PI: #465

Let me know if you want to collaborate on it together...

@kodumbeats
Copy link
Contributor

@eldadfux Absolutely I do! I've got a spare pi 4, which should help - I can dev directly on the device if need be.

@eldadfux eldadfux added work in progress and removed good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed dwoc labels Feb 15, 2021
@cweagans
Copy link

Something else to consider here: it would be really awesome if Appwrite could be stripped down so aggressively that it could be run on shared hosting (e.g. without realtime features -- essentially just serving as a RESTful CRUD API thing). If that's possible, then the "minimal" install would essentially just be a LAMP/LEMP stack.

@eldadfux
Copy link
Member Author

Update 15-01-2022

We have added service flags to disable some Appwrite features that will not be able to work in a slim environment, such as Cloud Functions and usage stats. We're still testing ways to allow stats to work on the main DB. This will allow us to run stats without InfluxDB and reduce the stack.

@ammarahm-ed
Copy link

@eldadfux Did you guys drop the idea of running everything in a single container using Supervisord?

@stnguyen90 stnguyen90 removed this from To do in Backlog Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants