Self Hosted - Self-hosting your services.
!selfhost@lemmy.ml
help-circle
rss
What is the Right Place for the SelfHosted Community?
While I'm not interested in encouraging /r/selfhosted users to leave reddit, I thought it would be good to have some discussion around the possibilities for a selfhosted community on lemmy. It looks as though most users are washing up in !selfhosted@lemmy.ml, but this is but a temporary refuge in these troubled times. The single mod is not responsive, lemmy.ml is already struggling with load, and the background lemmy.ml community may not be right for us. If we set up shop here we're just going to have to move, probably sooner rather than later. So if we move, do we create our own instance or move to an existing one better aligned with our needs? Given that there don't seem to be any instances which are really ideal, the remaining advantages to choosing an existing instance is simply that we rely on someone else's infrastructure (and the associated time, skill, and responsibility). This is a significant advantage which makes this option tough to pass up, but the equally significant disadvantage is that we don't get our own place. It's like renting a room in a frat house rather than building our own mansion. The remaining option is to create our own instance. If we were to go this route, in my opinion it is critically important that the responsibility for this be shared amongst several people. This dramatically reduces the odds that someone loses interest, or lacks the resources to support the community long term. While I'm certain that everyone in this sub could spin up an instance, we all know that providing high availability to potentially thousands of users is not something to be undertaken on a whim. There's a significant risk to the community in allowing someone to take this on themselves. I think fosstodon (mastodon) with several admins is a good model of how something like this can work. I also think it would be a good idea to broaden the subject to FOSS rather than merely self hosting. So the questions are... Do you think we should create & support a community on an existing instance, or create our own instance? If an existing instance then which one? If a new instance then how would you like to see it operated?
fedilink

I've been running a headless Ubuntu server for about 10 years or so. At first, it was just a file/print server, so I bought a super low power motherboard/processor to cut down on the energy bill. It's a passively cooled Intel Celeron J3455 "maxed out" with 16BG of RAM. Since then it's ballooned into a Plex/Shinobi/Photoprism/Samba/Frigate/MQTT/Matrix/Piwigo monster. It has six drives in RAID6 and a 7th for system storage (three of the drives are through a PCI card). I'm planning on moving my server closet, and I'll be upgrading the case into a rack-mount style case. While I'm at it, I figured I could upgrade the hardware as well. I was curious what I should look for in hardware. I've built a number of gaming PCs in the past, but I've never looked at server hardware. What features should I look for? Also, is there anything specific (besides a general purpose video card) that I can buy to speed up video encoding? It'd be nice to be able to real-time transcode video with Plex.
fedilink


[AWS Free Tier] How to get max benefit from it?
What are some things I can try and will benefit me while I have this 1 yr free trial? I can always buy my VPS later and move these self-hosted service there, if need be in the future. [AWS is very costly, hee hee] Share some cool ideas!
fedilink

[Question] Stay with Gitea or jump to Forgejo?
Does anyone who’s more on the pulse of stuff than I know if I should stick with Gitea or jump to Forgejo while I can? I understand that, for the moment at least, Forgejo should be a drop-in replacement for Gitea as they shared codebase for so long… Anyone have experience that this is the case? What version did you make the switch on? Was it really just a binary/docker container swap on existing database or did you run into any troubles? I’m at a crossroads where as a casual HomeLab user I don’t really care either way, but if there is a chance Gitea does something that ruins my use of it, I will regret having not switched while it was supposed to be easy. On the other hand, if Gitea remains the stronger choice and Forgejo fizzles out, I will regret leaving it behind. Help me decide? I’m on Gitea 1.21.5, the last “guaranteed” jump point now.
fedilink

Replace laptop fan with passive cooling
cross-posted from: https://lemmy.ml/post/12079904 > I'm using old laptop as a home server. > But the cooling fan started to click a lot, and I'm afraid that it will stop spinning soon. > Any ideas for how to replace the fan with something else? Preferably something that does not require electricity? > I'm thinking about dismantling it, taking the fan out and soldering a big block of metal to the heatsink. > How bad of an idea is that? > Is anyone aware of any other ways of physically converting laptop into something that is more suitable for home server? > Know of any guides or videos about something related? Please post links. > Thank you
fedilink

[Rant] … all I want is dropping some files into a directory and call it a day
I can't help but feel overwhelmed by the sheer complexity of self-hosting modern web applications (if you look under the surface!) Most modern web applications are designed to basically run standalone on a server. Integration into an existing environment a real challenge if not impossible. They often come with their own set of requirements and dependencies that don't easily align with an established infrastructure. “So you have an already running and fully configured web server? Too bad for you, bind me to port 443 or GTFO. Reverse-proxying by subdomain? Never heard of that. I won’t work. Deal with it. Oh, and your TLS certificates? Screw them, I ship my own!” Attempting to merge everything together requires meticulous planning, extensive configuration, and often annoying development work and finding workarounds. Modern web applications, with their elusive promises of flexibility and power, have instead become a source of maddening frustration when not being the only application that is served. My frustration about this is real. Self-hosting modern web applications is an uphill battle, not only in terms of technology but also when it comes to setting up the hosting environment. I just want to drop some PHP files into a directory and call it a day. A PHP interpreter and a simple HTTP server – that’s all I want to need for hosting my applications.
fedilink


[QUESTION] Proxmox vs Host+Docker
Hello, I figured this would have been asked a lot on reddit but given the sub went private I figured it would be good to ask the question here for people like me in this situation. I've recently managed to upgrade my server from an old 4gb Celeron laptop to an Optiplex 3070 i5-8500 16gb and see it as an opportunity to improve my system. Currently on the laptop I have Ubuntu Server with docker. The containers I have running are: - pihole - rtsp-server - nextcloud - ntfy - wireguard - nginx - zoneminder (was previously shinobi) cctv - php7.4 - portainer - mosquitto - homeassistant - phpmyadmin - certbot - mariadb - openproject (currently unable to run this alongside zm due to lack of ram) I think there's also a cron job for something running in the back, possibly for DNS updating. fstab is also edited to automount a HDD Its been running well for a few years. I'm surprised given the specs of the laptop but there we go. I don't know if in future I'd want to spin up other services like the *arr's and jellyfin and I dont really have much media or the knowhow on how to get them. I'm new to indexers and whatnot. I'm sure another post will come up/ has already asking what services people run Anyway, the question is should I : 1) Install Proxmox and a Debian/ Ubuntu Server VM and move my docker containers there? 2) Try and transfer to LXC alternatives? 3) Stick with docker on host? I feel like I may have previously (years ago) tried installing proxmox on the laptop but it didnt work well (either lack of hypervisor support or low specs). If its the latter then I know host+docker can run on a low spec system and therefore uses less resources. Does the question essentially come down to whether or not I need a VM? Or is the overhead of proxmox so low that it doesnt matter? What would you guys recommend and why? TIA and it's nice to meet you all on lemmy! --- Edit: Thanks everyone for your inputs. I think the general consensus Proxmox is the preferred route given it's "low overhead", ease of backup solution and generally its ease of making/ removing containers and VM's. I'll give Proxmox a go with option 1 and perhaps try and get a value for the "low overhead" and see how I like it given i've never tried it before. Fedora + podman was also suggested. I guess that comparison with docker is another question and discussion to be had Happy hosting!
fedilink

[Project] Nextcloud Hub 5
cross-posted from: https://lemmy.ml/post/1235039 > https://nextcloud.com/blog/introducing-hub-5-first-to-deliver-self-hosted-ai-powered-digital-workspace/
fedilink

[Question] Is this level of activity too much for my network? Should I use a web host instead running a lemmy instance locally?
I'm looking to host a lemmy instance for a small subreddit. I I am unsure if the load would be too much for my home network. In the last 30 days we got 1.7k comments, 96 posts, 95k views, with an average unique of 809. My home internet connection is 100mb/s down, 20mb/s up. I use the network to work from home as well as general internet degeneracy when I'm off the clock. I have two roommates also using the network for personal stuff, but not working from home. Would this put too much load on my home network? If it does, could anyone recommend a good web host service that is compatible with lemmy?
fedilink

[Question] How to setup L2 switch on host for containers?
I want host to act as an L2 switch for my VM / docker / systemd-container(s) to get IP address from router directly. Are there any tools to configure that? I know that A WDS range-extender does the same with WiFi, allow it's clients to get IP config from the ISP router itself. My TP Link WR-940N does this, but I want to do this at software level.
fedilink

  • Leraje
  • English
  • 1Y
[Question] Yunohost on Hetzner running Lemmy
I'm not familiar enough with Ansible or Docker to really risk installing Lemmy straight onto the VPS so I'm thinking of putting Yunohost on it. If I chose the Hetzner Cloud package with 8GB RAM and 80Gb space, realistically, how many users could sign up before things got dangerous. Hetzner is fine with yunohost installs and the hardware specs are good for it, I'm just wondering about Lemmy capacity in terms of numbers of users. I realise you'd only be able to guesstimate a ballpark figure. Also, one way to cut down on space use is apparently object storage. I know I can use Backblaze for this - how exactly is this configured? Is there a setting in the lemmy config to point to external object storage providers?
fedilink

[Question] Same domain for all federated services
I’m interested in setting up my own instances for Lemmy, Mastodon, and Matrix. Can I use the same https://domain.tld for all of them without any subdomains? For example: lemmyuser@mydomain.tld mastodonuser@mydomain.tld matrixuser@mydomain.tld Will this work across all of my self-hosted instances, or do I need to append a subdomain for each, e.g., lemmyuser@lemmy.mydomain.tld?
fedilink

[Question] VPN use to keep my instance from pinpointing my house?
I want to set up a lemmy instance as a subreddit alternative for a community I moderate. I would be running the instance on a local machine in my home so I really want to make sure that it can't be traced to my physical location. I already subscribe to ExpressVPN for general use, can I just install it on the local machine, press connect, and boom be anonymous? What impact would this have on users?
fedilink

[question] Is there a lemmyImage freshrss plugin?
So I'm loving the switch as lemmy's growing larger, I've always used my freshrss reader to view topics. Now with reddit there's an extension for freshrss RedditImage that displays reddit images and photos without the need to click the link. Is there anything like this in freshrss for lemmy? I wish I understood php well enough to find a spot that might be listing domains or something if it's just a matter of telling it to do the same thing to other domains or something.
fedilink


Currently using Tutanota but they've just retired my current plan and doubled the price. I'm looking into hosting my own email. I would like to have encryption but it doesn't function very well when both sender and receiver need to be on the same platform. In addition none of the information being sent by email is overly sensitive so it's not a must. Anyone that's hosting their own email or has experience/knowledge of Lavabit that would care to chime in I'd be greatly appreciative.
fedilink

[Question] Open Source operating systems to run on compatible switches for homelab?
publication croisée depuis : https://lemmy.world/post/448925 > Hi there, I was looking for combinations of switching hardware and open source switching software. [Stratum](https://github.com/stratum/stratum) and [Cumulus Linux](https://www.nvidia.com/en-us/networking/ethernet-switching/cumulus-linux/) caught my attention, but these seem to be focussed towards the industry and would likely be very difficult to run in a homelab. I'm not going to touch the likes of Ubiquity, but as of now the only choice seems to be closed-source software from TPLink and/or Cisco. I'm going to try and harden the inside of my network too with ACLs and any other features I find on the switches, and having an open source OS with regular updates would be very nice to have. > > Any suggestions? I was trying to find something to run on a MikroTik switch, since I find their L2 OS a bit lacking. > > Cheers! Edit: a kind user mentioned OpenWRT, which I should have looked into more seriously before posting this. I'm going through it right now, any suggestions are welcome!
fedilink

Not sure if I’m up to the task (selfhosting Lemmy & Mastodon)
Out of curiosity I'm currently considering to self-host a Lemmy and a Mastodon instance. Just for me (and maybe 2-3 close friends) privately. The proposition of having full control over my social media sounds appealing to me. However, I'm not a software developer and I have next to no experience in self-hosting anything. Also, I don't plan to make self-hosting a hobby of mine. Given these circumstances - how much time investment do you think is needed to keep everything running smoothly. I wouldn't mind spending 1-2 hours a week, but if it's more like 1-2 hours a day, I would stay clear. Also, are there resources for troubleshooting available? I found the installations guides and some seem to be quite good for a layperson, giving step-by-step advice, however where to go if it doesn't work? I'm trying to make up my mind if it would be worthwhile to try or if I set myself up with wasting a lot of time :) So, any advise is welcome.
fedilink

[Question] FTP vs SFTP (SSH)?
My use case is I’m transferring large already encrypted files between two servers connected via wireguard. Is there any benefit to SFTP over FTP in this case?
fedilink

  • JonDotG
  • English
  • edit-2
    1Y
[Help] Looking for a working Docker Compose for Lemmy using existing Nginx Proxy Manager
I know everyone is still fiddling around with setup, but I have tried and tried to get my own compose working but have had no luck. If anyone can share their working compose, it would be really helpful. I have an existing Nginx Proxy Manager container serving as my reverse proxy, so I don’t want to install the nginx container in the sample compose either. Thanks!
fedilink

[Question] How do you handle offsite backups for your setup?
I'm particularly interested in low bandwidth solutions. My connection to the internet is pretty rough 20mbps down and 1mbps up with no option to upgrade. That said, this isn't limited to low bandwidth solutions. I'm planning on redoing my entire setup soon to run on Kubernetes followed by expanding the scope of what my server does (Currently plex, a sftp server and local client backups). Before i do that i need a proper offsite backup solution.
fedilink

[Question] Monitoring tool for Windows that doesn’t user Docker and notifies through Telegram
I am looking to monitor self hosted services that can send notifications to Telegram. Are there any web service monitoring solutions that can be installed on Windows and not installed using Docker? I checked through awesome-selfhosted and awesome-sysadmin repos and couldn't find one. All the ones I saw were either for Linux or container based. EDIT: For anyone that comes across this, here is how I resolved this. Thanks to u/dotmatrix for suggesting healthchecks.io ### SOLUTION #### On the host 1. Script to check the status of the webpage. Save the file with `ps1` extension ```powershell $hc= "https://hc-ping.com/<blahblahblah>" $url = "https://website.com/" $response = curl $url if ($response.StatusCode -eq 200) { curl $hc } else { curl $hc/fail } ``` 2. Set up the above script in Task Scheduler to run every 5 mins #### On HealthChecks 1. Create a check 2. Create a Telegram integration if you want the notification in a group/direct message/channel: https://healthchecks.io/integrations/add_telegram/ 3. If you want to customize the message or send the message to a topic in a group, you can create a Webhook. Instructions are here: https://github.com/healthchecks/healthchecks/issues/689#issuecomment-1409847685
fedilink

[PROJECT] Seeking Lemmy Architects/Developers
I am the CTO for an early-stage FinTech startup, and am looking to connect with architect-level developers who have managed their own self-hosted instance of Lemmy to help stand up a standalone, non-federated instance on a cloud provider such as AWS or Azure. This would be paid work, can be part-time to fit your schedule, and will have the option to become full-time upon our next round of funding. Please reply or DM me if you have any interest and would like more details. Thanks! Jason
fedilink

What are some of the best games you can self-host a server for?
I don't mean obvious ones like Minecraft. I'm looking for interesting ones like Runescape for instance
fedilink

Would a raspberry pi zero manage to host a Lemmy instance?
Title, I want to host a Lemmy instance and to save money I was hoping to use a pizero that I already have. I would consider a vps, but I worry about bandwidth
fedilink

[Question] Proxmox Cluster and Quorum
How do you handle Proxmox clusters when you only have 1 or 2 servers? I technically have 3 servers but I keep one offline because I don't need it 24/7 most point wasting power on a server I don't need. I believe I read somewhere that you can force Proxmox it to a lower number but it isn't recommended. Has anyone done this and if so have you run into any issues with this? My main issue is I want my VM to start no matter what. For example I had a power outage. When the servers came back online instead of starting they waited for the quorum number to reach 3. (it will never reach 3 because the third server wasn't turn on.) so they just waited forever until I got home and ran >pvecm expected 2
fedilink


[Question] Best way to set up docker containers that depend on other container
Hi guys! I have several docker containers running on my home server set up with separated compose files for each of them, including a Pihole one that serves as my home DNS. I created a network for it and a fixed IP but I couldn't find a way to set fixed IPs to the other containers that use the Pihole network. Well everything works but every now and then I have problems because the Pihole cant start first and grab the fixed IP and some other container gets its IP so nothing works because everything depends on the Pihole to work. My Pihole compose is like this: `networks: casa: driver: bridge ipam: config: - subnet: "172.10.0.0/20" networks: casa: ipv4_address: 172.10.0.2` My Jellyfin container as an example is like this: `_networks: - pihole_casa dns: - 172.10.0.2 networks: pihole_casa: external: true__` I read the documentation about setting fixed IP but all I got was using one single compose file and with 12 containers that seems like a messy solution.. I couldn't set fixed IPs with different compose files. Do you guys have any suggestion about it? Thanks! TLDR: I want to set fixed IPs to containers in different compose files so all of them use Pihole as DNS and don´t steal Pihole's IP in the startup
fedilink

  • Leraje
  • English
  • 1Y
[Question] Installing Lemmy with Ansible
I'm looking at the [official docs](https://github.com/LemmyNet/lemmy-ansible) but I'm a bit confused. I want to install Lemmy on a VPS but the fourth bullet point in the documentation says: "Install Ansible on your local machine (do not install it on your destination server)." And then the Install instructions start going about how to install it. If Ansible is on my local machine how am I supposed to use it to install Lemmy on a VPS?
fedilink

For those using docker compose, how do you manage your stacks?
I've been using Portainer to manage my homelab stacks from a single dashboard, which is more convenient than the CLI, but I'm not very satisfied with it so I've been looking for alternatives. Portainer often fails to deploy them and is either silent about it, or doesn't give me much information to work with. The main convenience is that (when it works) it automatically pulls the updated docker compose files from my repo and deploys it without any action on my part. Docker Swarm and Kubernetes seem to be the next ones in line. I have some experience with K8s so I know it can be complex, but I hope it's a complexity most paid upfront when setting everything up rather than being complicated to maintain. Do you have any experience with either one of these, or perhaps another way to orchestrate these services?
fedilink



[Question] Lemmy instance on FreeBSD
Hi all. I was wondering if somebody tried or managed to deploy a Lemmy instance on a FreeBSD machine. When looking at the Lemmy repositories it seems to me that docker is a requirement. Or am I wrong? I recently moved all my sites and services to FreeBSD and have no Linux based VPS right now but still would like to run a Lemmy instance. Thanks a lot for any help / clarification.
fedilink

Any recommendations for a DIY smart doorbell?
I now have access to a 3D printer and a bit of time. I’d like to skip this dance of smart doorbells kinda working , kinda not with home assistant. Any DIY doorbell projects out there the community can recommend?
fedilink

[Question] Easiest distro and install method for NextCloud on old laptop?
Hi, I have an old ThinkPad that's running Arch for some self-hosted things, but I want to repurpose it to be dedicated to NextCloud with file sync and some apps (mainly Photos). Setting it up from scratch with Arch packages looks like way too much work. Should I use the Docker image on the existing OS, or a different package type, or wipe and start with a new OS? I'm looking for the easiest solution that still has good performance and isn't going to break when it updates.
fedilink

[Question] Is SSH secure in this scenario?
Consider a wireguard network of many clients which all interact with each other through a central hub server on a cloud VPS. One of the clients is a desktop used for SSHing into the other various clients--again, through the central hub. If the "terminal" client connects to another client through the wireguard hub using SSH public/private key authentication, what if any information within that SSH tunnel gets exposed or leaked to the "hub" server? My threat model is if the VPS was to ever get compromised. I previously SSH'd into the hub VPS server and from there I would SSH into any of the other clients with a password. Horrible security, I know. My new setup is as mentioned above. Only the single desktop client has key authentication to SSH into the various clients. But I want to be sure none of that data gets exposed to the VPS hub just in case.
fedilink

catchall phonenumber
I have a domain and I use a hosted email I use a catchall email address to create an address on the fly for webshops and such. If they get conprimised or spam me I can block that email. Is there awauy to have something like this for the new Identifier on the web: the phone number
fedilink

[Question] Is there self hosted steam cloud?
I'm looking for something like steam cloud, but hosted on a homelab.
fedilink

Self Hosted - Self-hosting your services.
!selfhost@lemmy.ml
    Create a post

    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

    • No harassment
    • crossposts from c/Open Source & c/docker & related may be allowed, depending on context
    • Video Promoting is allowed if is within the topic.
    • No spamming.
    • Stay friendly.
    • Follow the lemmy.ml instance rules.
    • Tag your post. (Read under)

    Important

    Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

    • Lemmy doesn’t have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.

    Cross-posting

    If you see a rule-breaker please DM the mods!

    • 0 users online
    • 1 user / day
    • 1 user / week
    • 5 users / month
    • 59 users / 6 months
    • 1 subscriber
    • 150 Posts
    • 259 Comments
    • Modlog
    Lemmy
    A community of privacy and FOSS enthusiasts, run by Lemmy’s developers

    What is Lemmy.ml

    Rules

    1. No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
    2. Be respectful, especially when disagreeing. Everyone should feel welcome here.
    3. No porn.
    4. No Ads / Spamming.

    Feel free to ask questions over in: