selfhosted

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

oranki, in Why docker

Portability is the key for me, because I tend to switch things around a lot. Containers generally isolate the persistent data from the runtime really well.

Docker is not the only, or even the best way IMO to run containers. If I was providing services for customers, I would definetly build most container images daily in some automated way. Well, I do it already for quite a few.

The mess is only a mess if you don’t really understand what you’re doing, same goes for traditional services.

forwardvoid, (edited ) in Kubernetes? docker-compose? How should I organize my container services in 2024?

Portainer + caddy + watchtower, this will give you the benefits of containers without the complexity of Kubernetes. As someone who professionally works with Kubernetes, I agree with what other people have said here: “only run it if you want to learn it for professional use”.

Portainer is a friendly UI for running containers. It supports docker compose as well. It helps with observability and ops.
Caddy is an easy proxy with automatic Let’s Encrypt support.
Watchtower will update and restart your containers if there’s an update.
(Edit: formatting)

avidamoeba, (edited ) in How do you monitor your servers / VPS:es?
@avidamoeba@lemmy.ca avatar

Prometheus.

It’s open source, it’s easy to setup, its agents are available for nearly anything including OpenWrt, it can serve the simplest use case of “is it down” as well as much more complicated ones that stem from its ability to collect data over time.

Personally I’m monitoring:

  • Is it up?
  • Is the storage array healthy?
  • Are the services I care about running?

I used to run it ephemerallly - wiping data on restart. Recently started persisting its data so I can see data over the longer run.

surewhynotlem,

What do you use to see the data? Prometheus itself is easy to set up, but getting to the data seemed complicated.

lud,

You can use grafana to visualise the data.

Grafana isn’t too hard to use.

sgh, in Hosting websites over 4g

Have you looked into Cloudflare Tunnel? It’s a turnkey solution that does exactly what you want. No idea what the cost is though.

Moonrise2473, in Self-hosted or personal email solutions?

Purchase the domain with cloudflare, for email it depends how you use it:

With an email client like thunderbird:

A cheap service like mxroute is perfect

If you need to use a webmail:

You need to pay a lot because the free webmails are all unusable for advanced use.

Good options:

  • Zoho at $1 per user per month
  • Exchange with ovh at €3 per user per month

Bad options:

  • Google workspace at $10 per month per user plus the blood rights for your firstborn and pray that they don’t alter the deal
  • proton pro at $9 per user per month but IMHO is extremely overrated for what they offer at their price point (unless you need end to end encryption when emailing other proton users)
Mubelotix, (edited )
@Mubelotix@jlai.lu avatar

Protonmail is a honeypot. Stay away

BlueBockser,

+1 for own domain and some email hosting service. That also makes it pretty easy to switch providers because you can simply point your MX records etc. somewhere else - no need to change the actual email address.

I can also recommend mailbox.org as an alternative to mxroute, they’re even a little cheaper at $3/month (mxroute is $49/year at minimum).

trewq, (edited )

You may want to check lowendtalk. Jar (mxroute owner) run promo over there, at least once a year.

His last black friday link below. lowendtalk.com/discussion/190301/…/p1

His black friday page still up too. mxroute.blackfriday

Cheapest is $15/3 years for 10GB.

I’ve been using his service for years with no issue, and my account is grandfathered plan ($10/year for 50GB)

Non affiliate beside being their customers for years.

Gutless2615, in Joplin alternative needed

Yeah the lack of actual .md files is what killed Joplin for me. Obviously not FOSS but there are self hosted options for Obsidian.

Dehydrated, in Linkwarden - An open-source collaborative bookmark manager to collect, organize and preserve webpages

This looks like a good replacement for Raindrop.io

pineapplelover, in what if your cloud=provider gets hacked ?

I am my cloud provider. Don’t have duplicate copies of my server yet so I guess I’m kinda fucked.

dai,

But man, I’ll be able to amend all those TODO items that have been accumulating of the last 12 months and fix all those issues while rebuilding my raid.

I mean that’s only if my GITs aren’t hijacked during the ransomware attack.

And I mean, I’ll probably just push the same config to my server and let it on its merry way again.

kristoff,

Well, based on advice of Samsy, take a backup of home-server network to a NAS on your home-network. (I do home that your server-segment and your home-segment are two seperated networks, no?) Or better, set up your NAS at a friend’s house (and require MFA or a hardware security-key to access it remotely)

Moonrise2473, in Linkwarden - An open-source collaborative bookmark manager to collect, organize and preserve webpages

It seems so much nicer than my nextcloud bookmarks!

Showroom7561, in Linkwarden - An open-source collaborative bookmark manager to collect, organize and preserve webpages

FYI, if you have a synology NAS and want to self-host using the docker install, these instructions work: mariushosting.com/how-to-install-linkwarden-on-yo…

Unlearned9545, in Joplin alternative needed

Connect it to a DAV server and you dont have to learn a new software.

jaykay,
@jaykay@lemmy.zip avatar

Gotta learn about that DAV thing everyone is talking about ig haha

indigomirage, (edited ) in Joplin alternative needed

Can you not just backup the pg txn logs (with periodic full backups, purged in accordance with your needs?). That’s a much safer way to approach DBs anyway.

(exclude the online db files from your file system replication)

phanto, in Planning on setting up Proxmox and moving most services there. Some questions

Do two NICs. I have a bigger setup, and it’s all running on one LAN, and it is starting to run into problems. Changing to a two network setup from the outset probably would have saved me a lot of grief.

Edgarallenpwn,
@Edgarallenpwn@midwest.social avatar

So dual NIC on each device and set up another lan on my router? Sorry it seems like a dumb question but just want to make sure.

fuckwit_mcbumcrumble,

Why would you need two nics unless you’re planning on having a proxmox Vm being your router?

FiduciaryOne,

I think two NICs is required to do VLANing properly? Not 100% sure.

DeltaTangoLima, (edited )
@DeltaTangoLima@reddrefuge.com avatar

Nope - Proxmox lets you create VLAN trunks, just like a physical switch.

Edit: here’s one of my Proxmox server network configs.

FiduciaryOne,

Huh, cool, thank you! I’m going to have to look into that. I’d love for some of my containers and VMs to be on a different VLAN from others. I appreciate the correction. 😊

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

No worries mate. Sing out if you get stuck - happy to provide more details about my setup if you think it’ll help.

FiduciaryOne,

Thanks for the kind offer! I won’t get to this for a while, but I may take you up on it if I get stuck.

monkinto,

Is there a reason to do this over just giving the nic for the vm/container a vlan tag?

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

You still need to do that, but you need the Linux bridge interface to have VLANs defined as well, as the physical switch port that trunks the traffic is going to tag the respective VLANs to/from the Proxmox server and virtual guests.

So, vmbr1 maps to physical interface enp2s0f0. On vmbr1, I have two VLAN interfaces defined - vmbr1.100 (Proxmox guest VLAN) and vmbr1.60 (Phsyical infrastructure VLAN).

My Proxmox server has its own address in vlan60, and my Proxmox guests have addresses (and vlan tag) for vlan100.

The added headfuck (especially at setup) is that I also run an OPNsense VM on Proxmox, and it has its own vlan interfaces defined - essentially virtual interfaces on top of a virtual interface. So, I have:

  • switch trunk port
    • enp2s0f0 (physical)
      • vmbr1 (Linux bridge)
        • vmbr1.60 (Proxmox server interface)
        • vmbr1.100 (Proxmox VLAN interface)
          • virtual guest nic (w/ vlan tag and IP address)
        • vtnet1 (OPNsense “physical” nic, but actually virtual)
          • vtnet1_vlan[xxx] (OPNsense virtual nic per vlan)

All virtual guests default route via OPNsense’s IP address in vlan100, which maps to OPNsense virtual interface vtnet1_vlan100.

Like I said, it’s a headfuck when you first set it up. Interface-ception.

The only unnecessary bit in my setup is that my Proxmox server also has an IP address in vlan100 (via vmbr1.100). I had it there when I originally thought I’d use Proxmox firewalling as well, to effectively create a zero trust network for my Proxmox cluster. But, for me, that would’ve been overkill.

Live2day,

No, you can do more than 1 VLAN per port. It’s called a trunk

atzanteol,

I haven’t done it - but I believe Proxmox allows for creating a “backplane” network which the servers can use to talk directly to each other. This would be used for ceph and server migrations so that the large amount of network traffic doesn’t interfere with other traffic being used by the VMs and the rest of your network.

You’d just need a second NIC and a switch to create the second network, then staticly assign IPs. This network wouldn’t route anywhere else.

fuckwit_mcbumcrumble,

In proxmox there’s no need to assign it to a physical NIC. If you want a virtual network that goes as frast as possible you’d create a bridge or whatever and assign it to nothing. If you assign it to a NIC then since it wants to use SR-IOV it would only go as fast as the NIC can go.

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

This is exactly my setup on one of my Proxmox servers - a second NIC connected as my WAN adapter to my fibre internet. OPNsense firewall/router uses it.

possiblylinux127,

Can you explain what benefit that would bring?

darkl1nk, (edited ) in Any good RSS Feed service for self-hosting?
@darkl1nk@lemmy.ml avatar

I use Yarr (Yet Another RSS Reader). It can be easily deployed with Docker Compose and does the job nicely:

github.com/nkanaev/yarr

savbran,

Just found it and tried on my home server, it works:


<span style="color:#63a35c;">version</span><span style="color:#323232;">: </span><span style="color:#183691;">'3.3'
</span><span style="color:#63a35c;">services</span><span style="color:#323232;">:
</span><span style="color:#323232;">  </span><span style="color:#63a35c;">yarr</span><span style="color:#323232;">:
</span><span style="color:#323232;">    </span><span style="color:#63a35c;">container_name</span><span style="color:#323232;">: </span><span style="color:#183691;">yarr
</span><span style="color:#323232;">    </span><span style="color:#63a35c;">image</span><span style="color:#323232;">: </span><span style="color:#183691;">maskalicz/yarr:latest
</span><span style="color:#323232;">    </span><span style="color:#63a35c;">ports</span><span style="color:#323232;">:
</span><span style="color:#323232;">    - </span><span style="color:#183691;">7070:7070
</span><span style="color:#323232;">    </span><span style="color:#63a35c;">volumes</span><span style="color:#323232;">:
</span><span style="color:#323232;">    - </span><span style="color:#183691;">./yarr-data:/data:rw
</span>

Anyway, it just have one view mode with 3 panels and it’s not customizable. At the moment, the most featured and exstesible RSS Feed service seems to be FreshRSS as suggested in the thread by @specseaweed.

backhdlp, in Help me build a home server
@backhdlp@lemmy.blahaj.zone avatar

The Raspberry Pi 5 might be good enough for your needs. The 8GB costs a bit less than 100€ without any accessories at the danish reseller, so it fits in your budget. I don’t know if it’s good enough for all your services.

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