this post was submitted on 15 Sep 2024
513 points (98.9% liked)

Asklemmy

43780 readers
864 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Mine is Local Send which is a FOSS alternative similar to air drop that works across a variety of devices.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 19 points 1 month ago (1 children)

My favourite recent one is Yunohost, which makes it super easy to spin up a little self-hosted server with a bunch of apps. I've been having good fun with that and a spare Raspberry Pi lately.

[โ€“] [email protected] 2 points 1 month ago (1 children)

It's not quite as point-and-click, but I'm using Docker for that because Yunohost kept messing up updates. Most server apps will have some instructions on how to run them in docker, especially a docker-compose.yml file, so you don't have to rely on the Yunohost team to package said app.

The way I do it is that I put each suggested compose file in their own file, and import them in my main docker-compose.yml file like this:

version:  '3'
include:
    - syncthing.yml

Then just run docker compose pull && docker compose up -d every time you change something or want to update your apps, and you're good to go.

Software updates in particular are waaaaaayyy easier on Docker than Yunohost.

[โ€“] [email protected] 2 points 1 month ago (1 children)

This has uncovered my shameful Linux confession lol - I don't understand Docker at all. I think I'm reasonably okay with Linux stuff, I can put an Arch install together without using the archinstall script, I got NixOS up and running without too much trouble etc. but I just can't get my head around how Docker is supposed to work for some reason.

[โ€“] [email protected] 1 points 1 month ago

For self-hosting purposes, Docker = lightweight disposable VMs that are configured via docker-compose.yml. All important data should be in "volumes", which are just shared folders between the host and the container.

The end result is that you can delete and re-create containers at any time and they should just pick up where they left off from the data that's in these volumes.

Each individual published image has some paths they want to use for that; everything is usually specified in their example docker-compose files.

If you're not a dev, don't even try to understand Dockerfiles, it's not for you.