• 0 Posts
  • 12 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.