selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

ebits21, in How often do you back up?
@ebits21@lemmy.ca avatar

5 minutes after every computer boot to a NAS. Then nightly from the NAS to the cloud.

namelivia, in How do you monitor your servers / VPS:es?

Prometheus, Loki and Grafana.

johannes,

Golden! We use the same :)

SteveTech, in Hosting websites over 4g

I doubt this will be any use, but my Telstra 4G has a public IPv6.

justawittyusername,

Thanks thats good to know! I have got onto tailscale and have a test lab setup with a digital ocean vps for the public IP(exit node) and a ubuntu machine with a tunnel to it. Its working, just need to translate that to pfsense…

johntash, in How do you monitor your servers / VPS:es?

UptimeKuma is great, I use it for the simple “are my services up?” and is what I pay most attention to.

I still use zabbix for finer grained monitors though like checking raid status, smartctl, disk space, temperatures, etc.

I’ve been trying out librenms with more custom snmp checks too and am considering going that route instead of zabbix in the future

umbrella, in Why docker
@umbrella@lemmy.ml avatar

people are rebuffing the criticism already.

heres the main advantage imo:

no messy system or leftovers. some programs use directories all over the place and it gets annoying fast if you host many services. sometimes you will have some issue that requires you to do quite a bit of hunting and redoing things.

docker makes this painless. you can deploy and redeploy stuff easily and quickly, without a mess. updates are painless and quick too, with everything neatly self-contained.

much easier to maintain once you get the hang of things.

million,
@million@lemmy.world avatar

Quick addition, I think for the messy argument the way I would articulate it for folks running servers is it helps you move from pets to cattle.

possiblylinux127, in How do you monitor your servers / VPS:es?

I don’t do much in the way of monitoring. I guess I should do that.

possiblylinux127, in Why docker

Well docker tends to be more secure if you configure it right. As far as images go it really is just a matter of getting your images from official sources. If there isn’t a image already available you can make one.

The big advantage to containers is that they are highly reproducible. You no longer need to worry about issues that arise when running on the host directly.

Also if you are looking for a container runtime that runs as a local user you should check out podman. Podman works very similarly to docker and can even run your containers as a systemd user service.

Moonrise2473, in Why docker

About the root problem, as of now new installs are trying to let the user to run everything as a limited user. And the program is ran as root inside the container so in order to escape from it the attacker would need a double zero day exploit (one for doing rce in the container, one to escape the container)

The alternative to “don’t really know what’s in the image” usually is: “just download this Easy minified and incomprehensible trustmeimtotallynotavirus.sh script and run it as root”. Requires much more trust than a container that you can delete with no traces in literally seconds

If the program that you want to run requires python modules or node modules then it will make much more mess on the system than a container.

Downgrading to a previous version (or a beta preview) of the app you’re running due to bugs it’s trivial, you just change a tag and launch it again. Doing this on bare metal requires to be a terminal guru

Finally, migrating to a new fresh server is just docker compose down, then rsync to new server, and then docker compose up -d. And not praying to ten different gods because after three years you forgot how did you install the app in bare metal like that.

Docker is perfect for common people like us self hosting at home, the professionals at work use kubernetes

itsnotits,

the program is run* as root

makingrain, in How do you monitor your servers / VPS:es?
@makingrain@lemm.ee avatar

Uptime Kuma and ntfy.

msage, in Why docker

I have VMs on my metal, one specific for containers.

Though I use LXC. Docker started with LXC, then grew bigger, and I don’t like how big it is.

If I can set up one simple NAT and run everything inside a container, I don’t need Docker.

Docker’s main advantage is the hub.

its_me_gb, (edited ) in How do you monitor your servers / VPS:es?

Prometheus for metrics

Loki for logs

Grafana for dashboards.

I use node exporter for host metrics (Proxmox/VMs/SFFs/RaspPis/Router) and a number of other *exporters:

  • exportarr
  • plex-exporter
  • unifi-exporter
  • bitcoin node exporter

I use the OpenTelemetry collector to collect some of the above metrics, rather than Prometheus itself, as well as docker logs and other log files before shipping them to Prometheus/Loki.

Oh, I also scrape metrics from my Traefik containers using OTEL as well.

lud,

Have you tried the proxmox exporter? I have tried it briefly for a grafana lab and it seemed pretty good.

github.com/…/prometheus-pve-exporter

its_me_gb,

I haven’t, but it looks like I’ve got another exporter to install and dashboard to create 😁

lud,

If you want to run the exporter without docker (like I did) and you get problems with installing the exporter try using this guide: github.com/…/PVE-Exporter-on-Proxmox-VE-Node-in-a…

namelivia,

What does having OpenTelemetry improve? I have a setup similar to yours but data goes from Prometheus to Grafana and I never thought I would need anything else.

its_me_gb,

Not a whole lot to be honest. But I work with OpenTelemetry everyday for my day job, so it was a little exercise for me.

Though, OTEL does have some advantages in that It is a vendor agnostic collection tool. allowing you to use multiple different collection methods and switch out your backend easily if you wish.

scrchngwsl, in Running immich, HA and Frigate on a RPi4 with Coral or on a HP Prodesk 700 g4 (Intel 8th gen)

Not sure exactly what you’re asking but I have a Coral mini pcie with frigate and it works great. Hardly any cpu and tiny power consumption.

sylverstream,

Okay thanks!

vegetaaaaaaa, in Kubernetes? docker-compose? How should I organize my container services in 2024?
@vegetaaaaaaa@lemmy.world avatar

Podman pods + systemd units to manage pods lifecycle. Ansible to deploy the base OS requirements, the ancillary services (SSH, backups, monitoring…), and the pods/containers/services themselves.

Vendetta9076, in Running immich, HA and Frigate on a RPi4 with Coral or on a HP Prodesk 700 g4 (Intel 8th gen)
@Vendetta9076@sh.itjust.works avatar

Migrating is your best move. Hardware go brr

sylverstream,

Okay thanks!

avidamoeba, in Why docker
@avidamoeba@lemmy.ca avatar

In short, yes, yes it’s worth it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #