selfhosted

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

floridaman, in Private and/or cheap places to register a domain

there are lots of cheap domain registrar options but if you’re looking for a cheap .com I always go for cloudflare, they also offer .org for pretty cheap and many other options as well. The domains other than the common ones are pretty decently priced as well. I migrated all my domains there last year and it’s really simple, integrates with their DNS really well and payment is pretty streamlined.

subtext,

Yeah tbh if I’m already going to be using Cloudflare for DNS, might as well use them for their registrar as well. One fewer entity to trust.

gmtom, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

This is cool, but honestly kind of a deranged question to ask.

BleatingZombie,

Does anybody else harvest the teeth of their victims and put them on a keychain?

butterflyattack,

Or fashion bow ties from their testicles. . ?

nova_ad_vitum,

This is just a less gross version of “DAE store their piss in jars so they can commemorate their unitary secretions”?

flambonkscious, (edited )

baffled glance…wot?

gmtom,

Unhinged comment.

surfrock66,
@surfrock66@lemmy.world avatar

Fair, my home office is a monument to too much free time, a hoarding habit for ewaste, and a wife who works weekends and overnights.

BearOfaTime, (edited ) in How to access traefik hostnames from tailscale clients

I assume when you say externally you mean via Tailscale, but without running Tailscale on each container/service?

What I currently do is run Tailscale on a few workstation-type devices, but everything else in my network doesn’t run the Tailscale client (partly because things like printers, outers, etc can’t run the client, and it’s less convenient for things like servers).

Those type of devices can be accessed by running one Tailscale node as a Subnet Router. This device is then able to route traffic to it’s subnet. Currently I use a Raspberry Pi for this.

My Pi also runs PiHole and acts as my DNS server, so it can name resolve local resources, though I don’t think this is required, because Tailscale has its own DNS resolution called Magic DNS. So your Subnet Router should be able to resolve those names anyway (going off memory here, so be sure to check the docs, I may be misremembering how it works since I use the same device for DNS).

You don’t even need Tailscale on a remote device to access your LAN - if you enable the Funnel service, you can provide an inbound encrypted path to specified resources.

WASTECH,
@WASTECH@lemmy.world avatar

That is almost the exact same thing I am doing. I have 2 Pi’s running PiHole in HA and I just made one of them the subnet router to allow this access. Since I will be the only one using this, I don’t care to use Funnel right now, but thanks for showing that to me. I am (obviously) new to using Tailscale, and that looks like a very neat feature.

ElusiveClarity, in The "safest" way of self hosting

I’m not expert but for the sake of getting some discussion going:

Don’t open ports on your router to expose services to the open internet.

Use a vpn when torrenting and make sure your torrent client is set to only use the vpn’s network adapter. This way, if your vpn drops out the torrent client can’t reach the internet.

I keep everything local and use Tailscale to access things while I’m away from home.

genie,

Couldn’t agree more! Tailscale also lets you use Mullvad (up to 5 devices per Mullvad account, across all clients) as an exit node.

MangoPenguin, in Question: Best UI to manage VMs and containers?
@MangoPenguin@lemmy.blahaj.zone avatar

Dockge or Portainer are both good options.

For VMs you’ll need to find something else, you could use Cockpit for that.

RootBeerGuy,
@RootBeerGuy@discuss.tchncs.de avatar

Thanks for mentioning Dockge, hadn’t heard of it yet. Already use portainer but it seems a bit overkill for me and my few containers. Will try Dockge.

antrosapien,

Do they work with podman? Or anything for podman?

egeres, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@egeres@lemmy.world avatar

What are they made of anyways?? Could one see any etching marks with a microscope?

brlemworld,

Bunch of tiny magnets either north or south.

Morphit,
@Morphit@feddit.uk avatar

Usually aluminium or glass. There’s a metallic coating applied to the outside surfaces that stores the data. That layer is very thin though, so most of the material is the substrate.

Piatro, in Actual: How to import data with proper readable payee?

Personally I rename them to something meaningful and they get merged if there are no other references. PayPal is especially bad for completely meaningless rubbish in the payee field and they tend to be ad-hoc purchases so I don’t fiddle with them much. The category is the most relevant bit for me.

Atemu,
@Atemu@lemmy.ml avatar

Yeah, I’ve noticed the PayPal issue aswell.

GroundedGator, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

I’m much more interested in your kit in the background.

surfrock66,
@surfrock66@lemmy.world avatar

That is a self-made soldering kit box I made when I was in college and had to haul it around a lot. I have actually been meeting to replace it with something more permanent now that I’m a grown up with my own house. I have an air flow soldering rig which doesn’t really have a home, and I could have a much better use of space. I have my brocade ICX6610-24 next to that which I’ve been programming for way too long, and a whole bunch of 3D printer parts on top of that.

GroundedGator,

That kit box would actually be perfect for my needs as this is a hobby I only visit occasionally or when needed. It would be great to have something I can easily store.

AbouBenAdhem, in Reverse-proxying from a docker network

If the other services are exposed on local ports, you can have NPM forward to those.

Scrath,

By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I’m not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow

rambos, (edited )

For homeassistant I had to add this in configuration.yaml


<span style="color:#323232;">http:
</span><span style="color:#323232;">  use_x_forwarded_for: true
</span><span style="color:#323232;">  trusted_proxies:
</span><span style="color:#323232;">    - 172.21.0.2
</span>

Where 172.21.0.2 is my NPM docker IP

Edit: its NPM IP and not HA like I wrote first time

tarmarbar,

This. Also, make sure the proxy is proxying websocket traffic as well. I do it with pure nginx like this:


<span style="color:#323232;">server {
</span><span style="color:#323232;">    listen 80;
</span><span style="color:#323232;">    server_name example.com;
</span><span style="color:#323232;">
</span><span style="color:#323232;">    location / {
</span><span style="color:#323232;">        proxy_pass http://192.168.1.100:8123/;
</span><span style="color:#323232;">        proxy_set_header Host $host;
</span><span style="color:#323232;">        proxy_set_header X-Real-IP $remote_addr;
</span><span style="color:#323232;">        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
</span><span style="color:#323232;">        proxy_set_header X-Forwarded-Proto $scheme;
</span><span style="color:#323232;">
</span><span style="color:#323232;">        # WebSocket support
</span><span style="color:#323232;">        proxy_http_version 1.1;
</span><span style="color:#323232;">        proxy_set_header Upgrade $http_upgrade;
</span><span style="color:#323232;">        proxy_set_header Connection "upgrade";
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">}
</span>
Scrath,

Thanks. I tried it like this and still get a 400 Bad Request error.

https://lemmy.dbzer0.com/pictrs/image/fe1f4995-0a5e-4fc6-b679-6d7d4e93e264.png

Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn’t make a difference).


<span style="color:#63a35c;">http</span><span style="color:#323232;">:
</span><span style="color:#323232;">  </span><span style="color:#63a35c;">use_x_forwarded_for</span><span style="color:#323232;">: </span><span style="color:#0086b3;">true
</span><span style="color:#323232;">  </span><span style="color:#63a35c;">trusted_proxies</span><span style="color:#323232;">:
</span><span style="color:#323232;">    - </span><span style="color:#0086b3;">192.168.208.2 </span><span style="font-style:italic;color:#969896;"># IP of reverse-proxy in its network
</span><span style="color:#323232;">    - </span><span style="color:#183691;">192.168.208.0/20 </span><span style="font-style:italic;color:#969896;"># Subnet of proxy docker network
</span><span style="color:#323232;">    - </span><span style="color:#0086b3;">192.168.1.103 </span><span style="font-style:italic;color:#969896;"># HA IP
</span>
rambos,

My NPM window looks the same as yours. Im not sure mate, I would try disabling firewall just to see is that the problem. Im not expert in that area and nothing else comes to my mind sorry. Im also running everything under one host

emuspawn, (edited )
@emuspawn@orbiting.observer avatar

If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.

The config in NPM

https://orbiting.observer/pictrs/image/8201c738-48a5-4d37-935e-f7b959c902ec.png

The config in HA’s configuration.yaml

https://orbiting.observer/pictrs/image/fd0dc3dd-e12e-4a30-a5fd-ef86a2780957.png

Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.

Scrath,

Thanks for the configuration example. Unfortunately it doesn’t seem to work for me. I’ve replied to someone above with screenshots of what my configuration now looks like. The base_url option you use there wasn’t available to me because it apparently has been deprecated and replaced with internal_url and external_url.

diegantobass, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@diegantobass@lemmy.world avatar

Techno-shamanism! I made a dream-catcher made from some plates.

https://lemmy.world/pictrs/image/93bd19a6-dadb-4e8a-9e04-ac0f09f1aeb9.jpeg

ArmoredThirteen,

I made a wind chime once that I really loved. Had to dirty the plates because they could catch the sun well enough to vaporize your retinas

Werbert,

I made a DRAM catcher once.

egeres,
@egeres@lemmy.world avatar

Oh wow!

epyon22, in GameStreaming from UbuntuServer

I guess what problems are you having? I’ve used steam link before perfectly fine but it’s going to have some loss over the network. Are both computers connected to a gigabit lan? Balder’s gate 3 is a newer game, and while you aren’t on minimum requirements you are on mid tier hardware using proton to run a windows game, so there are a few reasons you may be having problems. Best way to run it down is isolate things and see how they go. Try running game directly on the computer with monitor ect.

RandomLegend,
@RandomLegend@lemmy.dbzer0.com avatar

It appears as if you misunderstood my post…

I currently DONT have gamestreaming from my Ubuntu Server to the minisforum. I WANT to have it but i don’t know how to properly set it up. I tried several installs of sunshine but it fails everytime on encoders… and the docker support is very manual at the moment.

The performance issues i have on BG3 are running directly on the minisforum thats why i want to run it on the server instead.

So basically my post is asking for help on setting up sunshine on my ubuntu server

epyon22,

Ah I don’t know much about sunshine and your specific setup. But I know docker can be a pain getting access to devices like graphics cards. Maybe try running natively?

RandomLegend,
@RandomLegend@lemmy.dbzer0.com avatar

I’ve got my GPU running in docker when i wanted to use hw transcoding on my Plex docker. So this is already cleared.

I’ve researched a bit since posting and found that using sunshine directly is not the easiest route to pick here since their docker installation is still in early development and involves a lot of manual config and setup.

I’ll go with games-on-whales.github.io/gow/running.html as they use sunshine but deliver a nearly completely configured docker-compose environment.

I ordered a HDMI dummy plug that i can use.

redcalcium,

If you’re using Sunshine on an nvidia system, you’ll have to patch your nvidia driver to be able to use nvenc and nvfbc without restriction. Check out this repo for more info: github.com/keylase/nvidia-patch

RandomLegend,
@RandomLegend@lemmy.dbzer0.com avatar

What would my advantages be here after using the patches?

I plan to only connect one single client to my host at any given moment. So i don’t think i need the restrictions lifted i guess?

redcalcium, (edited )

Iirc sunshine still need nvfbc to grab the rendered frames.

Use NVIDIA Frame Buffer Capture to capture direct to GPU memory. This is usually the fastest method for NVIDIA cards. For GeForce cards it will only work with drivers patched with nvidia-patch or nvlax.

docs.lizardbyte.dev/…/advanced_usage.html

RandomLegend,
@RandomLegend@lemmy.dbzer0.com avatar

Got it, thanks!

ikidd, in Alternative to Home Assistant for ESPHome Devices
@ikidd@lemmy.world avatar

Node Red.

Faceman2K23,
@Faceman2K23@discuss.tchncs.de avatar

I run nodered within Homeassistant in a vm on one of my nucs, I do all of my actual automation in there and homeassistant is just an IO layer for zigbee and bluetooth stuff.

ikidd,
@ikidd@lemmy.world avatar

I started out that way, but I’ve moved to doing most of it in HA directly since they massively improves the UI. I still use NR for complicated stuff though. I’ve recently started using Pyscript for modbus integrations too.

Faceman2K23,
@Faceman2K23@discuss.tchncs.de avatar

The UI is definitely better than it used to be, but nodered can do some more powerful stuff like pulling the html of a devices web ui and parsing data straight from the page when there’s no API to use for example. I used to do that for a solar inverter at my last house.

Now I use it to control my AV switcher that distributes video through the house, it has no native homeassistant integration and only supports things like control4 and RTI so I implemented my own control using their REST API and hooked it all up to buttons and selectors in homeassistant. works great.

Also my home theatre receiver has a homeassistant integration but its terrible, so again, I’ve manually implemented the tcp controls in nodered.

ikidd,
@ikidd@lemmy.world avatar

pulling the html of a devices web ui

I’ve done something similiar in NR to scrape the CUPS webpage on my desktop and turn on a tasmota plug for the printer when it sees a job waiting in the queue. I wouldn’t even try to do that in HA directly. But I wouldn’t be surprised if there’s an integration somewhere that would do it.

ponchow8NC, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

Curious about the age of the oldest one

surfrock66,
@surfrock66@lemmy.world avatar

I started collecting in probably 2007, so manufactured before that for sure.

Yantantethera, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@Yantantethera@lemmy.world avatar

I use them as coffee mats…

vikingtons,
@vikingtons@lemmy.world avatar

The 3.5s make for excellent coasters lol

variants,

How do you keep them from sticking onto cups

vikingtons, (edited )
@vikingtons@lemmy.world avatar

Good question, but I’ve not had that issue so far

I typically use yeti ramblers with a metal bases on them, though I’ve set ceramic mugs down on them too and they’ve not stuck. might depend on the drink a little?

variants,

Oh it’s probably vacuum sealed then so it doesn’t condensate

vikingtons, (edited )
@vikingtons@lemmy.world avatar

Maybe but I do spill a bit every now and then. Can’t speak for the regular ceramic mugs, though that’s a bit of a rarity and they just have herbal tea

NegativeInf,

I do that with save icons!

Decipher0771, in How well does the raspberry pi handle being a moonlight client

Works great. It’s my portable gaming box. I use virtualhere usb over ip on the same Pi too so I can use multiple controllers like a wheel or joystick, pass a full bluetooth adapter directly to it for emulators.

Haha,

How good is the reach on that?

Decipher0771,

In the house, anywhere with wifi. Can run decently down to 10-15mbps at 1080p60.

Remotely, over Tailscale, my home uplink is too slow for anything more than 720p60, but its low latency enough I can play games like Mario RPG and get timed hits correct. Or Clone Hero. Games like rocket league tend to be too fast tho, and video breaks up badly.

so Long as you have fast enough uplink, I think I’d be fine anywhere. Sunshine and moonlight are amazing, I used to use Parsec extensively but now it’s just moonlight and sunshine.

Haha,

I read about moonlight and sunshine, im glad its still current! One more question, your bluetooth controller, is there lots of latency on those?

Decipher0771,

In most games not noticeable. Only game I have trouble with is emulating Wii, playing Mario Galaxy. The pointer on screen lags, but I think that’s more due to the bluetooth adapter compatibility than any latency added by the usb-> ip -> wifi link.

I’m not an FPS player, so can’t speak to sub second latency….but I do racing sims on this, and it has no trouble with controls and force feedback.

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