• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle

  • This is how I do it. It works internally and externally, though it’s more than OP needs. :)

    To add to what’s been said (in case it’s useful to others), it’s worth looking at SWAG and Authelia to do the proxying for services visible to the Internet. I run them in a Docker container and it does all the proxying, takes care of the SSL certificate and auto-renews it, and adds MFA to the services you run that support it (all browsing, MFA-aware apps, etc).

    Another thing I like about SWAG’s setup is that you select which services/hostnames you want to expose, name them in the SUBDOMAINS environment variable in Docker (easy to remove one if you take a service down, for maintenance, etc), and then each has its own config file in Nginx’s proxy-confs directory that does the https://name.domain -> http://IP:port redirection for that service (e.g. wordpress.subdomain.conf), assuming the traffic has met whatever MFA and geo-whitelisting stuff you have set up.

    I also have Cloudflare protecting the traffic (proxying the domain’s A record and the wildcard CNAME) to my public address, which adds another layer.




  • That’s a really open-ended question. Depends purely upon your interests and appetite for risk, etc.

    Might be worth looking at, from a Docker perspective:

    • AdGuard Home (I think it’s better than Pi-Hole)
    • Wireguard or similar. Great for reaching your services when away from home.
    • Audiobookshelf. Audiobooks. There are good apps.
    • Calibre-Web. Ebooks.
    • RSS feed reader, for non-social media websites you visit. Plenty to choose from: FreshRSS, TT-RSS, Sismics, etc.
    • Gitlab CE. If you’re a developer or can otherwise make use of version control.
    • Gotify. Alerting on your containers. Has a good mobile app.
    • Heimdall. A dashboard for everything you’re running.
    • Komga. If you’re into manga. The best iOS app is meh, but the best Android app is awesome.
    • Mealie. Recipe database.
    • Paperless-ngx. Excellent for storing your PDFs and other digital life.
    • PhotoPrism. Basically Google Photos.
    • Portainer. Great for managing Docker containers/stacks.
    • qBitTorrent. Guess what that’s for.
    • SWAG with Authelia. SWAG does reverse proxying with a Let’s Encrypt certificate, and automatically renews it for you. Authelia provides MFA (Authy, Google Authenticator, etc) on top of it.
    • Vikunja. Todoist or Toodledoo without having to pay for features.
    • Wallabag. Basically Pocket.
    • Watchtower. Automatically updates containers for you. Can exclude the ones you don’t want to update, etc.
    • Webtrees. Family tree research, if that’s your thing.
    • YouTransfer. Useful for sharing files without having to use Dropbox, etc.

    I have in the past run a Valheim server and a VRising server, too. FWIW.



  • Yeah, it make for a nice workflow, doesn’t it. It doesn’t give you the “fully automated” achievement, but it’s not much of a chore. :)

    Have you considered something like borgbackup? It does good deduplication, so you won’t have umpteen copies of unchanged files.

    I use it mostly for my daily driver laptop to backup to my NAS, and the Gitlab CE container running on the NAS acts as the equivalent for its local Git repos, which are then straightforward to copy elsewhere. Though haven’t got it scripting anything like bouncing containers or DB dumps.


  • Do you have a NAS? It can be a good way to get decent functionality without extra hardware, especially if you’re doing proof of concept or temporary stuff.

    My self-hosting Docker setup is split between 12 permanent stacks on a Synology DS920+ NAS (with upgraded RAM) and 4 on a Raspberry Pi 4B, using Portainer and its agent on the Pi to manage them. The NAS is also using Synology’s Drive (like Dropbox or GDrive) and Photos (like Google Photos).

    I’ve had the NAS running servers for Valheim and VRising in the past, but they require that fewer containers be running, as game servers running on Linux usually have no optimisation and/or are emulating Windows.

    If I decide to host a game server again, I’ll probably look at a NUC. I’ve done the DIY mini-ITX route in the past (for an XBMC-based media centre with HDMI output) and it was great, so that’s another option.


  • This is what I do. I find keeping 20-odd docker-compose files (almost always static content) backed up to be straightforward.

    Each is configured to bring up/down the whole stack in the right order, so any Watchtower-triggered update is seamless. My Gotify container sends me an update every time one changes. I use Portainer to manage them across two devices, but that’s just about convenience.

    I disable Watchtower for twitchy containers, and handle them manually. For the rest, the only issue I’ve seen is if there’s a major change in how the container/stack is built (a change in database, etc), but that’s happened twice and I’ve been able to recover.


  • I used Linuxserver’s Docker container of Dokuwiki when I migrated my notes from Evernote a few years ago. It was easy to setup and configure, has a number of plugins that further improve it, and it did the job really well.

    I ended up migrating it all to Obsidian this year, as it serves my needs better, but otherwise I’d still be using Dokuwiki.


  • Bristlerock@kbin.socialtoSelfhosted@lemmy.worldNotes taking app
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    I migrated away from Evernote a few years ago, where I kept my “paperless life” (PDFs of receipts, bills, etc) and general notes (work, study, etc). Opting to self-host most of the things I can, I moved the notes to Dokuwiki and the rest to what is now Paperless-ngx.

    This year I realised that Obsidian suits my needs better than a wiki, so migrated the notes to that. If it’s just for your stuff, I’d recommend the same. (Though if you collaborate with anyone, I’ve heard Notion is a better option specifically for that.) Obsidian has a lot of extensibility, which will steepen the learning curve, but it’s worth it.

    I sync Obsidian’s Vault using my Synology NAS’s “Drive” client, and Obsidian works perfectly with Windows, Mac, Linux, and Android. The only shortcoming is iOS (because iOS), though I believe you can work around it using Obsidian Sync or at least one other tool I’ve seen mentioned. It might also be possible via the Obsidian Git extension, but I’ve not tried it with iOS and requires (from a self-hosting perspective) that you have a local Git server (for example).


  • FWIW, I have an LG LED smart TV (2xHDMI, 1xDVB-S2, WiFi, NIC, etc) and it’s only been connected to my network once, for a post-purchase firmware update through my AdGuard Home. WiFi and Ethernet is disabled, and I use it with my Nvidia ShieldTV (Plex*, Netflix, ChromeCast, etc).

    I won’t let it go online as I expect it already phones home if you let it, and don’t imagine LG will be able to resist ad injection into content, like Samsung and others do. So it’s an excellent quality dumb TV, which meets my needs perfectly.

    *Plex Media Server runs on my NAS. The Shield and my mobile devices are Plex clients.



  • When my old NetGear ReadyNAS Duo (2 bays, SPARC, 100Mb NIC) was reaching its EOL I looked into a purpose built server, a mini of some kind (NUC, etc), or a standard QNAP or Synology NAS. Eventually settled on a Synology DS 920+ (4 bays, x86_64, 1Gb NIC).

    It’s been rock solid and amazing value for the 2.5 years I’ve had it. It’s running the majority of my Docker containers, Plex Media Server, a Linux VM, and a few other things. It also has its own shell/CLI, which is useful. I don’t use Synology’s “phone home”/remote access stuff, but Synology Drive and Synology Photos are great - they provide the equivalents of Dropbox and Google Photos respectively, and it works across Windows, Linux, Mac, iOS, and Android (via VPN when outside the house). No regrets at all.