๐Ÿ’พ Archived View for m0yng.uk โ€บ Self-hosted-stuff captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2021-11-30)

โžก๏ธ Next capture (2022-01-08)

-=-=-=-=-=-=-

Self hosted stuff - M0YNG.uk

Modified 2021-11-02

I have a **lot** of computers doing *stuff* at home, and inspired by Werefox[1] I thought I'd share a bit about them.

1: https://info.werefox.dev/projects/services

Private Stuff

All of this lives on various Raspberry Pis and other low power computers at home, and can be accessed from the home network or remotely via VPN.

Most of this is available via lighttpd reverse proxy with a real wildcard let's encrypt certificate for a real domain, so I regularly have to do a DNS validation dance. But it does make life easier to be able to hit up a valid HTTPS service without certificate warnings etc. It also means I can change the backend without updating things in too many places, and I don't have to remember port numbers.

Hardware Summary

A lot of this runs on an Acer Revo M1-601 with a 2.1GHz Atom/Celeron/Pentium Processor (it depends who you ask, and the computer itself gives all three!) and 8Gb of RAM. It has a measly 32Gb of storage onboard, but I've got a 2Tb spinning rust disk attached via USB3. I use Docker to avoid dependency nightmares on here.

For **big storage** there is a NAS (Network Attached Storage). This is a Buffalo TeraStation and has 4x 2Tb drives, which run mostly in RAID5 (this was a bad idea, the CPU cannot keep up and significantly slows down the write speed but the data should be fairly stable, although I fear what happens when a drive fails and it has to rebuild stuff) giving 5.5Tb total accessible storage. It runs Debian and provides access via NFS and SMB (and SSH I guess?)

There are (*counts*) many Raspberry Pis around doing various things. Most are listed below by their function.

Funkwhale

An easy way to access all the music I have on a NAS.

Runs in Docker

Shed Music

A temperamental raspberry pi v1 hooked upto some powered speakers. This runs MPD and I can control it from the command line, an app on my phone, and a web interface on the pi itself.

Vaultwarden

An alternative implementation of the Bitwarden API that I can use from various places for password management.

Runs in Docker

Nextcloud

Mostly used as a simple way to automatically back up photos from my phone. The data is stored on the NAS.

Runs in Docker

Gitea

A place to put code as I work on it. Not that I do much. I also sync code "in real time" using syncthing.

Runs in Docker

PiAware

An ADSB aircraft tracking thing that lives in the loft with a custom made collinear aerial.

It can "see" about 150 Nautical Miles in some directions, which isn't bad considering it's all inside.

Has a nice web UI I can watch aircraft on and see what is making that noise.

Pi-Star

A Pi-Zero-W with an MMDVM Hat that provides DMR and Pocsag services to my (very) local area.

Pidgey

This is the Chicken Pi.

Cameras, temperature sensors, chicken detection systems, all that on a Pi3.

Find out more on the Chicken page.

Previously ran Grafana, now just sends data to an influxdb on Rhyhorn, and graphs are viewed on Abra / a.n.other. way of making graphs (e.g. plotext)

InfluxDB

Runs on Rhyhorn and stores data on the NAS, a good dumping place for data such as:

Home Assistant

I'm still not convinced by this. I has some value but I'm not sure I need an entire Pi to provide those.

I use it to control the TV when I can't find the remote, turn on and off the gaming computer (it's headless and hidden but has a network controlled power socket), and that's about it. I'm sure it could do more but I just don't have the IoT stuff to do it with, and I'm not sure I want the IoT stuff either.

PiHole

It's a network wide DNS based black hole for advertising and trackers. If you aren't already using it, I'd seriously suggest you consider it!

This also does the internal only subdomains for the reverse proxy stuff I mentioned before.

Unifi Controller

My home network is mostly Unifi hardware (2x WiFi access points, 1x 8 port managed switch, 1x router/gateway thing)(plus at least 4x unmanaged non-unifi switches, ISP modem, etc.)

This software sits there and "manages" it all. It's normally a bad day if I need to open this! But it does give nice details like what devices are connected, how good their connection is, how much data is being used, etc. Fun for scaring guests as I can tell them what apps they are using based on the deep packet inspection of Unifi + PiHole's DNS logs.

Syncthing

Uses the bittorrent protocol to sync stuff between things. Generally pretty good for my needs, and I have one running on an always on computer so I basically have a dropbox style service where laptop, desktop, phone, etc. can all keep files in sync without having to be on at the same time (although it is faster if they are.)

Mostly used for `~/Documents` and `~/Code`.

RaspPBX

VoIP (Voice over IP) phone service for the house. I have a few handsets dotted around the house and an app on my phone so I can call other bits of the house or home when I'm away (via the VPN) rather than shouting at people. Mostly pointless, but kind of fun.

Runs on a Pi v1 - just. They don't support that hardware any more and there will be no more updates :(

Radiopi-10

Is a Pi v3 and TNC-Pi hat running aprx and doing APRS stuff.

Currently running on solar power, more details to come when I have it more stable!

Muk

Is a Pi v4 running my data mode HF radio stuff. I can VNC into the Pi and run WSJTX, JS8Call, Gridtracker, etc. and play radio without needing to be physically near the radio.

I have a SignaLink interface between the Pi and the radio, it works ok most of the time, but does annoyingly often not trigger the PTT and there is no way to know this when just looking at WSJTX. I consider this a fault, but I've never put any effort into diagnosing it, other than opening the case and looking for dry solder (none that I could spot.)

Another limitation is that even my ATU (currently broken) cannot be controlled remotely, so I have to pick a band, match it, and then stick with that for all remote operation until I go and change it. This means I often just stick with 20m.

Wireguard

A fairly simple to use VPN service that allows me to "dial in" to my home network and access stuff from anywhere.

Abra

A Pi Zero W with a 7.5in ePaper display that lives in the kitchen and can pull data from various sources and display, for example:

Mostly runs via cron which displays time context suitable information, but also has a 6 key keyboard that can trigger 6 different displays on demand (8+ as some display differently based on the time of day) and a minimal web interface which allows uploading images for immediate display, etc.

Pretty much all of this is custom python scripts, and most of it will never be shared, sorry!

Dead stuff I don't use anymore

Rainloop webmail

I thought it might be helpful to have a web mail client available locally, but I just didn't use it.

Cockpit

A web interface to manage your servers. Doesn't do anything I can't do faster via SSH.

Public Stuff

These are things that are available on the internet, even if I'm the only actual user.

mastodon.radio

I run the mastodon.radio[2] instance.

2: https://mastodon.radio

It runs on a Mythic Beasts VPS - because they are very good.

m0yng.uk

This site, available via HTTP, HTTPS, TOR, Gopher, and Gemini. It's also a helpful place to play with stuff.

Runs on an Inception Hosting VPS - because it's very very cheap.

Cloudlog

I host my amateur radio log at log.m0yng.uk[3] so I can easily access it from anywhere, and people can see what I've been up to.

3: https://log.m0yng.uk

Nitter

I don't use Twitter directly, if I can help it, and Nitter is a great proxy to the site when I do want to look at something specific. It has to run in Docker due to various dependency issues :(

It lives at nitter.m0yng.uk[4] and I find untrackme[5] to be a very nice way to avoid accidentally ending up on the bird site itself!

4: https://nitter.m0yng.uk

5: https://www.f-droid.org/en/packages/app.fedilab.nitterizeme/

-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-

๐Ÿ–ค Black Lives Matter

๐Ÿ’™๐Ÿค๐Ÿ’œ Trans Rights are Human Rights

โค๏ธ๐Ÿงก๐Ÿ’›๐Ÿ’š๐Ÿ’™๐Ÿ’œ Love is Love

Copyright ยฉ 2021 Christopher M0YNG

Code snippets are licenced under the Hippocratic License 3.0 (or later.)

Page generated 2021-11-02 by Complex 19