Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
I apologise for not being clear.
These are the specs of my NAS build:
Node 804 case
16GB DDR4 RAM
Seagate IronWolf Pro 2x 4TB
1TB nvme Samsung 970 evo plus
Gigabyte H610M S2H V2 Intel H610 LGA1200 DDR4 Micro-ATX Motherboardd
DeepCool GAMMAXX GT CPU Cooler A-RGB 120mm PWM Addressable RGB LED Fan Intel AMD
500W EVGA Power Supply Unit / PSU VAT INC
Intel core i5-12400t QS 6c/12t Support ASUS ROG Strix B660-I Gaming WiFi LGA1700.
I want to store all data onto the NAS, past projects, pics, etc.
Set up automatic backups for Windows, Mac
Set up media server (Jellyfin) with Arr apps using a VPN (I’m not sure how to set up a VPN with torrent client)
Set up headscale to access my NAS from anywhere (also, I can’t find any tutorials).
For 3-2-1 backups, I have decided to get an external HDD and use cloud storage.
Self-host services such as Nextcloud, Immich and Bitwarden.
VMs - Future
Web hosting - Future
Home assistant - Future
To be clear, I want to do all that; however, I have never done it before, so that any tutorials would be appreciated.
By "Dos and Don'ts," I'm referring to the settings that should be adjusted for optimal performance, security, and privacy.
Also, any other recommendations would be appreciated.
Sounds like you've done a bunch of research! Since you're using unRAID, setting up your services shouldn't be too difficult.
For your torrents and VPN, there's a few in the unRAID community store - I'd recommend qBittorrentVPN from Binhex - here's the documentation for setting up their VPN-enabled containers.
For Headscale, I don't have any direct experience but unRAID has a decent Wireguard plugin, and should get you up and running in a pinch.
And for your self-hosted services (especially Bitwarden) ensure you're not exposing this on the net, by VPN is the only option I'd recommend. Even so, I prefer to use Bitwarden's hosting with a family plan, for peace of mind and resiliency. It's also much easier for my family.
UnRAID is a great place to start - it allows you to scale cheaply as you need and is easier to fix mistakes. Good luck, and happy homelabbing!
Please let me know what you find for jellyfin with arrs and VPN. I have found that the VPN always interferes with jellyfin and other stuff and haven't been able to figure out gluetun.
Stuff like this is why I moved my docker from unraid to a VM where I can use docker compose. Docker compose is really the only way to get a clean setup with complex stuff like this. That being said I recommend beginners use unraid. You don't need a full vpn for torrents, a socks5 proxy will be fine and doesn't require and special docker settings.
My setup uses traefik reverse proxy. Internal HTTPS (let's encrypte wild card) and external HTTPS depending on what I want.
It uses authentik for single sign on and in this case provides LDAP for jellyfin and also provides web authentication for arr services.
The glutun container can be configured with any VPN and all services can only access the internet via the VPN.
My NAS is unraid, my docker host is a VM on proxmox. Media files are stored on HDDs on unraid and everything else is on on the docker SSD. Volumes are connected to where they need to be via NFS shares.
There are limits for cpu and ram so one container can't bring everything down.
The containers themselves all communicate via their own docker network and only the reverse proxy (traefik) allows access to the UI.
Thank you so much. I have spent so long trying to find this.
Thanks for posting this for everyone. I also use docker-compose for all of my self hosted services and would recommend others to do the same.