r/SelfHosting • u/mrsharkbird • 20h ago
selfhosted calendar with docker
what are good selfhosted calendars that run in docker (with arm)
r/SelfHosting • u/mrsharkbird • 20h ago
what are good selfhosted calendars that run in docker (with arm)
r/SelfHosting • u/Leather_Basis_6391 • 15h ago
Most Pi-hole builds I see run on Pi 4s or Pi 5s, so I wanted to share how a single-core Raspberry Pi Zero W Rev 1.1 holds up running a self-hosted network stack paired with a cloud exit node, SD-card wear mitigation, and a customized \`tty1\` PADD display.
\* Board & Thermals: Pi Zero W Rev 1.1 (32-bit Raspberry Pi OS) with a passive flat heatsink holding steady around \`\~41.2°C\`
\* Dashboard & Access: Attached \`tty1\` LCD running customized PADD (\`v4.2.0\`) with status indicators, bracket formatting, and a \`paddphone\` helper for viewing PADD over mobile SSH; \`wlan0\` (\`<PI_LAN_IP>\`) with no router port forwarding
\* Pi-hole (\`6.6\` / Web \`6.6.1\` / FTL \`6.9\`) + Unbound: \~582,896 blocked domains (\~52% block rate across \~28 clients) backed by a local recursive Unbound resolver (1 server configured, DNSSEC disabled on forwarder)
\* Caddy: Local reverse proxy using a local root certificate (\`<LOCAL_CA_CERT>\`) for internal HTTPS on desktop and mobile clients, with the router admin panel kept off the reverse proxy
\* Tailscale: Advertises subnet routes and exit nodes alongside an always-on cloud ARM exit node (\`<EXIT_NODE_HOSTNAME>\`), with Override DNS servers pointing to Pi-hole (\`<PIHOLE_TAILSCALE_IP>\`) and MagicDNS (\`<MAGICDNS_IP>\`) active
\* SD Card & Load Tuning: \`Log2Ram\` (\~40% log usage, \~20% SD usage) + \`ZRAM\` compressed swap, hardware watchdog enabled, \`sleep 10\` in PADD preserved via \`/usr/local/bin/apply-padd-custom.sh\`, and disabled \`fail2ban.service\`, \`ntfy-power.service\`, and \`triggerhappy.socket\` while keeping \`mDNS\` active (single-core load can dip as low as \`\~0.05\` when quiet)
\* Updates & Alerts: Weekly update job in \`/etc/default/pi-sunday-update\` with a weekly overwriting backup and rollback on boot/service failure, paired with Healthchecks.io and \`ntfy\` email alerts for up/down status
Keeping Override DNS servers enabled with MagicDNS initially triggered false \`DNS unavailable\` health warnings on mobile clients and extra DNS retry noise. Standardizing device machine names in the Tailscale admin console (\`Machines > Edit machine name\`) to clean, lowercase hyphenated hostnames cleared up the warnings while keeping network-wide filtering active.
\* 1-Min CPU Load: \`0.36 – 0.43\` (5- and 15-min averages around \`\~0.49–0.55\`)
\* CPU Temp: \`\~41.2°C\`
\* RAM Usage: \`\~29.8% – 31.7%\` (with \`Log2Ram\` + \`ZRAM\`; \~94,100–94,800 DNS cache insertions and \`0\` deletions/evictions)
\* Query Volume: \`40 – 75 Qrs/min\` normally, handling bursts up to \`92–206 Qrs/min\` at \~1.1%–2.6% FTL CPU before settling back to \~\`60 Qrs/min\`
Next up once this stays settled is testing a Nebula overlay network (indicator slot already prepared on PADD). How do you keep single-core boards, SD cards, and Tailscale DNS smooth in your setups?
Raspberry Pi Zero W Network Appliance & Cloud Exit Node — Deep-Dive Build & Operations Guide
An in-depth engineering write-up for running a single-core ARMv6 Raspberry Pi Zero W (Rev 1.1) on 32-bit Raspberry Pi OS as a network appliance—combining Pi-hole, Unbound, Caddy, and Tailscale alongside an always-on cloud ARM exit node, Log2Ram, ZRAM, hardware watchdog recovery, systemd service pruning, automated weekly updates with rollback, Healthchecks.io + ntfy alerting, and a customized tty1 PADD dashboard.
Disclaimer: This guide documents a personal homelab build and tuning process, not a universal production architecture. Choices such as keeping Tailscale Override DNS servers enabled, advertising subnet routes and exit nodes alongside a cloud exit node, and keeping mDNS active reflect specific personal preferences and trade-offs.
Compute Platform: Raspberry Pi Zero W Rev 1.1 (single-core ARMv6 CPU, limited RAM, 32-bit Raspberry Pi OS) running over wlan0 (<PI_LAN_IP>) with zero router port forwarding.
Why Single-Core Tuning Matters: Without multiple cores to absorb background spikes, frequent polling loops, heavy logging, or chatty background daemons can quickly push load up or stall interactive SSH/console work.
Thermal Management: A passive flat heatsink mounted directly to the SoC keeps steady-state temperatures around \~41.2°C without fan noise or fan failure points.
LCD Status Display & Mobile Access:
Drives an attached LCD on tty1 running customized PADD (v4.2.0) with status indicators, bracket formatting, and a Nebula: - status slot staged for future overlay testing.
Refresh loop tuned to sleep 10 inside padd.sh so PADD doesn't hammer a single ARMv6 core every second.
Customizations re-applied automatically via /usr/local/bin/apply-padd-custom.sh so PADD updates don't wipe out your layout tweaks.
Paired with a paddphone command so you can check the PADD dashboard from a mobile SSH session instead of walking over to the physical LCD.
2. Core Network Stack: Pi-hole, Unbound, Caddy & Tailscale
DNS Layer: Pi-hole + Unbound
Pi-hole (v6.6 / Web 6.6.1 / FTL 6.9): Handles network-wide ad/tracker blocking (\~582,896 blocked domains, \~52% block rate across \~28 clients) and local DNS resolution.
Unbound: Acts as a local recursive DNS resolver (1 server configured, DNSSEC disabled on forwarder) so queries resolve recursively rather than depending solely on third-party public DNS resolvers.
Security Boundary: No router port forwarding is used, keeping DNS and local services off the public internet edge.
Reverse Proxy Layer: Caddy
Terminates internal HTTPS for self-hosted services using a local root certificate (<LOCAL_CA_CERT>) installed on desktop and mobile clients so browsers trust internal endpoints cleanly.
The router admin panel is intentionally kept off the reverse proxy rather than proxied through Caddy.
Mesh VPN & Cloud Exit Node: Tailscale
Configured to advertise both subnet routes and exit nodes on the Pi Zero W while working alongside an always-on cloud ARM exit node (<EXIT_NODE_HOSTNAME>).
Override DNS servers is enabled pointing to Pi-hole (<PIHOLE_TAILSCALE_IP>) with MagicDNS (<MAGICDNS_IP>) active so connected devices get ad/tracker blocking and MagicDNS name resolution.
3. SD-Card Longevity, Systemd Pruning & Self-Healing Maintenance
Protecting Flash Storage & Memory
Log2Ram: Keeps volatile logs in RAM and flushes cleanly to disk (\~40% log usage, \~20% SD usage), cutting constant small writes to the microSD card.
ZRAM: Provides compressed swap in RAM so memory spikes avoid slow, wear-heavy microSD swap thrashing.
Hardware Watchdog: Enabled at the system level to recover automatically if the board locks up or hangs.
Systemd Service Pruning
Disabled non-essential services (fail2ban.service, ntfy-power.service, triggerhappy.socket) to keep single-core load comfortably below 1.00 (with single-core load able to dip to \~0.05 during quiet stretches), while keeping mDNS active.
Automated Weekly Updates, Rollback & Alerts
Scheduled Updates: Configured in /etc/default/pi-sunday-update to handle weekly updates across OS packages, Pi-hole, gravity lists, PADD, Tailscale, Unbound, Caddy, and Log2Ram.
Backup & Automatic Rollback: Uses a weekly overwriting backup paired with rollback if a boot or critical service fails after an update.
Monitoring & Notifications: Uses Healthchecks.io heartbeats together with ntfy email alerts so you receive up and down notifications.
4. Real-World Debugging: Tailscale Mobile "DNS unavailable" Warnings
What Happened
With Override DNS servers (<PIHOLE_TAILSCALE_IP>) and MagicDNS active, mobile Tailscale clients showed DNS unavailable health warnings and generated extra DNS retry chatter.
How It Was Fixed
Standardized device machine names in the Tailscale admin console (Machines > Edit machine name) to clean, lowercase hyphenated names.
That resolved the false mobile health warnings and cut down DNS retry noise without turning off Override DNS servers or MagicDNS.
5. Steady-State Benchmarks (\~28 Clients) & Roadmap
Observed Performance
1-Minute CPU Load: 0.36 – 0.43 (5- and 15-min averages around \~0.49–0.55)
CPU Temperature: \~41.2°C steady state
Memory Usage: \~29.8% – 31.7% (with Log2Ram + ZRAM; \~94,100–94,800 DNS cache insertions and 0 deletions/evictions)
DNS Query Volume: 40 – 75 Qrs/min typical steady state, handling bursts up to 92–206 Qrs/min at \~1.1%–2.6% FTL CPU before settling back to \~60 Qrs/min
Future Roadmap
Nebula Overlay Network: Planned once the current Pi Zero W + cloud exit node stack remains settled, with a status indicator slot already staged on PADD.
r/SelfHosting • u/1ronlegs • 20h ago
Hey r/selfhosted,
I've been on a bit of a journey. Three years ago I completed a coding bootcamp, bought myself an end-of-life Dell PowerEdge R730 on ebay, stuffed it full of RAM (back when it was cheap) and HDDs and set about to build my own personal cloud and learn ubuntu server, proxmox the ways of the sysadmin. It's been a wild ride. I started out modestly, deploying some neat self-hosted apps with Docker, which was new to me at the time, and I've had a bit of help from this community over the years too, thanks to you all, I'm posting now to pay it back.
Before the bootcamp, I was working in project management, hated my job and wanted to get more technical. So I set myself a goal: break into IT and improve my finances. I'm happy to say I made it. I'm now a Cloud Platform Engineer, and I've nearly doubled my take home pay, that may sound boast-y, but I was not earning a lot before, and I am probably worth more, but alas... 😅
The money half of that goal is where this latest project comes in. I've just launched Downspout, a personal finance app. The idea isn't wildly original, but I built it for myself and I've found it really useful.
I used to spend all month thinking about what I'd do with my money on payday. Which account should my savings go into? How much should I pay off the mortgage? Should it all stay in my current account to build a buffer? Do I clear my wife's car loan first? The plan changed multiple times a month, every month.
I was making progress, paying down debts I'd built up while out of work for a while, and my take-home pay had grown significantly. But that didn't stop the decision fatigue that came with payday each month. I kept changing strategy, and there wasn't much sense to what I was doing with my money.
So I started building a set of rules to allocate my money into buckets. A spreadsheet quickly proved clunky (and not much fun to look at), so I built an app instead.
I don't budget. Despite the debt, I lean pretty damn frugal, further than most people would probably go, though I'm not here to convert anyone. For me it's less about going without and more about noticing that I don't want that much, and that whatever I don't spend can buy a bit of freedom later in life. There's always money left over, so I don't need to track my spending. My problem was deciding what to do with what's left.
A lot of people say to put your money on autopilot, but the downside is that you can stop paying attention to it. Making transfers manually keeps you aware of what's in your accounts and where it's going, and I find it motivating. The risk is that you're back to making different decisions every month.
Downspout is meant to help with that. I set a plan, and then I simply check in once a month on payday, but you could use it more often if you're paid weekly. It's not yet setup for irregular or gig workers, but if there's interest, I could look at it.
I know this isn't a frugality sub, but self-hosters tend to be a resourceful bunch who'd rather run their own thing than pay for another subscription, so I'm sharing it in the hope it helps some like-minded people.
How it works
The tech
Because this is handling financial data, you need to know I take privacy very seriously: your data doesn't leave your own machine, make sure you secure your app with a high entropy password. The app makes no outbound requests, with no analytics, no update checks and no third-party fonts or scripts, and a strict Content-Security-Policy. It's password protected (argon2id), and the container runs as a non-root user, with a read-only filesystem in the example compose file. The only external link is an optional Ko-fi tip card, which does nothing unless you click it and can be turned off.
Disclaimer: I built it with local models, and Claude Opus when they got stuck, but I checked everything by hand. I've been coding this way for about three years, mostly on work projects, but this is the first thing I've released for others to self-host, so I'd especially like to hear about anything that breaks on your setup or could be clearer in the docs.
Links: Repo | Docs | Screenshot | Live demo
This is the first version and I plan to keep improving it. What do you think? And how do you decide where your money goes each month? If you got this far, I really appreciate you reading 🙏