this post was submitted on 17 Mar 2025
26 points (93.3% liked)

Selfhosted

44579 readers
1365 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi, I got a small server as a for-fun-project and I really enjoy having it. With all the stuff going on in the world I would like to self host more things, but I'm pretty new to the scene. So far it's just an old desktop with Ubuntu server os acting as media server. I would like to add some sort of lightweight and preferably open source file share akin to Google Drive with the ability to save/upload, view and edit files on the server from the outside internet. I'd also like a shared calendar that can also be accessed from the internet. Do you have any good recommendations this? Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] AmbiguousProps@lemmy.today 3 points 1 day ago* (last edited 1 day ago) (1 children)

You can host remote files via SFTP + cloudflared (or another reverse tunnel provider) without opening any ports. Then you use a file manager to add a network share with your SFTP information.

For the calendar, WebDAV is probably your best bet, which also works with reverse tunneling. You can also use WebDAV in place of SFTP if you prefer to only have one (or two with a reverse tunnel) service configured. Nextcloud is a great option since it has WebDAV and file management built in.

I would use Docker to do it all, but there is a learning curve associated with setting all of this up in a secure way (which is what the reverse tunnel helps with).

[–] tux0r@feddit.org 3 points 1 day ago (1 children)

Also, using a container adds severe overhead.

IMO, Unison is a pretty good software for this use case.

[–] AmbiguousProps@lemmy.today 1 points 1 day ago* (last edited 1 day ago) (1 children)

I suppose that it adds technical overhead (not sure I would call it severe though), but in my opinion the benefit of docker is how easy it is to spin up a new service, and how easy it is to update and maintain the containers.

[–] tux0r@feddit.org 2 points 1 day ago (1 children)

Docker does not even work on my servers - wrong operating system, I guess. Docker containers have one more disadvantage on systems where it does work: the contents of a container aren’t updated when the host operating system is, basically leaving 0-days unpatched longer than absolutely necessary.

[–] AmbiguousProps@lemmy.today 1 points 1 day ago (1 children)

Interesting, what OS are you running? I've never ran into one that it doesn't work on so that's surprising.

I would counter that disadvantage with this: due to testing constraints, docker containers are usually updated more quickly when there's a 0 day, and you don't have to patch your entire OS if one single container has one. It reduces operator overhead greatly, because that's what it's designed to do. Even if one of your containers has a vulnerability, because it's a container, it won't necessarily affect your entire system, depending on the vulnerability.

[–] tux0r@feddit.org 1 points 1 day ago (1 children)
[–] AmbiguousProps@lemmy.today 2 points 1 day ago

Ah, yeah, OpenBSD would do it. You'd basically be limited to running it in a VM which would have severe overhead. For Linux based stuff, though, it has minimal overhead.