azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
2.97k stars 105 forks source link

[FEAT]: One-line install script (like CasaOS) #178

Closed petruut closed 5 months ago

petruut commented 5 months ago

Feature Description

I think a lot of users sympathise a lot with your vision - I love it!! However, many will like a pre-configured approach (including best practices on how to set up users etc.)

CasaOS is really appealing with its 1-line deployment, that they advertise on their home page. Would something like that be possible to explore here as well?

azukaar commented 5 months ago

The one liner is pretty much the docker run command, aside from installing docker itself (another one liner) then you're set

But this will need to change anyway soon in the future and I do not know yet how future versions of Cosmos will be delivered

(I'm closing the ticket for triage purpose but feel free to continue the conversation)

petruut commented 5 months ago

I'm grateful - installing docker, managing those initial file/ folder structures, file owners and permissions, installing this container with the right privileges. It's super easy for you, I get that.

But even getting the right PUID and PGID has caused many issues in the past... I think you can't beat the one-liner deployment of CasaOS - you can of course have more advanced users who want this as a layer on top of what they already have. A lot of users I suspect might want something simple - something they can deploy in a VM and have this as the main interface.

azukaar commented 5 months ago

You dont need to setup any folder / PID / whatever

And you're done. Yes it's 2 commands instead of 1, but it's acceptable I think no?