Good day, friends. Since catching the self-hosting bug, I’ve set up a couple of Proxmox home servers with a bunch of services I enjoy.
Now I’d like to set up a server and local network on my sailboat so I can self-host servarr, pihole, and other services while traveling. The tricky part is that everything on the boat is 12V and I would rather not use an inverter, if possible. Also, it needs to be ultra-low power so I can leave it on at all times and not to deplete my batteries too much.
Criteria:
- ultra-low power
- Small form factor
- runs on 12V
- 10 TB of storage plus ability to make full local backup
- Capable of hosting servarr, audiobookshelf, freshrss, etc. via docker
- HDMI output
- Full local mirror/backup of the entire file system, including the media library.
- We will have two laptops and two Android phones to access the server, so the server doesn’t need to run a desktop environment.
I’ll have a mobile wifi router and a cellular signal booster (or maybe Starlink eventually) for internet access. Since internet bandwidth will be limited and expensive while traveling, I don’t want to have to re-download a massive media llibrary if the storage media fail. Thus, I want the media library to be mirrored or fully backed up or synced locally.
What hardware and Linux distro would you use in this situation?
Don’t forget to think about how to keep the salt air from corroding the electronics. Either build a spare or two that you keep sealed in plastic, or find an airtight case with an integrated heat sink or something.
Edit: you might want to look into conformal coating and dielectric grease (for the connectors) as well, although I don’t know enough about that to competently give advice beyond the mere suggestion.
Came here to say this. I’ve worked on systems for a restaurant on the beach and it was corroded as hell. We had the wireless access points in cheap “weatherproof” boxes and they got corroded. We replaced them once a year or so because it was so bad.
This sounds like a job for a raspberry pi 5 with an m.2 hat for storage, software is a less important choice here, so ubuntu’s raspberry pi flavour would be my choice. Just make sure you give it power in a form it likes.
Your best bet might be to use a laptop as the basis. They are already designed with power efficiency in mind, and you won’t need an external screen and keyboard for local problem solving.
I would also consider having a raspberry pi 3 or similar as a companion. Services that must be up all the time run on the pi (e.g. network admin). The main computer only gets kicked out of sleep mode when required. The pi 3 needs less power than the newer pis, while still having enough computing power to not lag unless pushed hard.
I definitely agree with SSDs. HDDs don’t do well when rotated when running. Boats are less than a stable platform.
This is a good idea. A modern laptop is already power efficient and has its own battery, which I guess would act like a UPS and protect the motherboard from big swings in voltage from the main battery bank.
I would get a laptop as well in that situation. Just make sure it is one that supports setting the charging threshold. Having it on all the time will kill the battery quickly if it keeps charging from 95 to 100%. It’s much better to keep it below 80%, which should still give enough “UPS time”.
The battery will also not electrically protect the motherboard from voltage swings. So get a good power adapter that can handle the voltages.
Post this in a piracy community and it goes full circle
There is a certain satisfying symmetry to sailing the high seas while sailing the high seas.
Arrrrr and ahoi o7
There are a lot of atom or mobile i3/i5 powered mini PCs that actually are powered with a 12v brick, in fact most of the industrial ones are. Small form factor, passive cooling, can play media for you and usually comes with 4x 1/2.5gbit Ethernet, so it can double as a router/switch. Usually 10-15w power draw.
Go to AliExpress and simply search for minipc and make sure it has a SATA connector for your hard drive.
I like the idea of using an industrial pc. Small sailboats experience a lot of vibration and sometimes violent bouncing, slamming, and heeling. Most things on a sailboat have been tossed around and flung onto the floor at some point, so it will have to be bolted down.
I don’t know, maybe something like this?
KINGDEL Desktop Computer, Fanless PC, Intel i7 8th Gen CPU, 32GB DDR4 RAM, 1TB NVMe SSD, HD Port, VGA, 2xCOM RS232, W-11 Pro https://a.co/d/0eODy8RH
Something more like this https://a.co/d/0bgPCSvQ - it should use half the power, it’s way smaller, 2x SATA if you want 2 drives. I haven’t checked if this specific one is 12V, but there are dozens in the same form factor and with similar specs.
What hardware does not run on 12 V?
Define ultra low power. Given the 10 TB + mirror (why?) I assume at least 2 HDDs have to spin. So at least 20 W total? I mean they can spin down, but leaving the system on 24/7 seems a bit far fetched, even if it only consumes 1 watt (0.1 A load, 2.4 Ah per day).
Yeah, good point. Now that you mention it, there is no real reason to run the server 24/7 on the boat. Also, HDDs would not be happy with the amount of bouncing that small sailboats undergo while at sea.
You’ve gotten a lot of good answers, so I’m going to do some out of the box thinking - maybe it will spark a few ideas.
Goal:
- self hosted server on boat
Issues:
- size
- power
- corrosion
So if I were going to do this myself, I’d start with a pelican or other similar watertight container. We don’t want the equipment getting wet, and we don’t want it exposed to the salty air.
I’d probably pick a usff computer, like a dell 9020 or maybe a framework motherboard. To get the storage, I’d get one of these to add multiple sata ports to the computer. Then its a matter of getting a bunch of ssds and powering them. I think the 12v goal is going to be too restrictive, most laptops need 19v to charge, so I’d just bite the bullet and get an inverter. If you’re really tight on power you could go with a pi, but the framework motherboard/usff both use mobile processors, and shouldn’t draw too much while idle.
Any wires that pass though to the case should be made through waterproof bulkheads.
Personally I’d nix the HDMI out requirement. One more port to keep track of and it complicates the self hosting. If you want it for media streaming to a TV then I’d recommend a roku and just run a jellyfin server on the computer. If you want it for server debugging I wouldn’t bother running it out of the case.
The last thing I’d do is figure out cooling. For this I’d probably create some sort of closed loop heat exchanger from the case to either the outside air or the lake/ocean itself. This could be as simple as a pump running water through two radiators, one in the case and the other outside or just dumped overboard. If you know your power usage ahead of time you might be able to get away with a peltier element, dumping the heat outside the case.
I’d probably put this all on its own power system, get a solar panel, battery, inverter, etc. It could even get topped off by the boat’s system if it needs extra juice.
Also whatever you do, I’d figure out a way to ensure you’re giving your system a clean and steady 12v.
I run a NUC and a few other things off a 125W elcheapo $20 bestek(?) inverter off the house battery.
Sure it gets converted twice but the juice is cleaner in the end.
And consider DIYing a big house battery. The cells are cheap now. I built a 1200Ah LFP bank just because it fit nicely in the compartment. Then throw some solar at it.
And for backup, just get a large spinning external and plug it in occasionally to sync a copy. Put it back in the Tupperware for cold storage.