A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
It’s possible to make web apps that are close to free, but that isn’t how developers work these days. Everybody has to use JavaScript, Kubernetes, Docker, and a 500-person developer/infrastructure team. When in reality, 99.999% of websites could be made without JavaScript, hosted on a single VPS with SQLite.
A couple of my side projects run on 1GB VPS that cost $10/month, and they would easily run on a 512MB VPS if those were still offered.
There are legit reasons to use k8s and docker even on a small project. It ensures that your dependencies are isolated from those of the host OS. Gone are the days where you have to worry about multiple different services clashing because they all want to use the same ports, directories etc by default or different versions of the same service.
I’m also done being called at 2AM in the morning because the security team decided to automatically update all servers and forgot we were on the exemption list. Now our install is broken and nobody remembers what the original configuration was. So we spend 8 hours in a “war room” trying to unscramble our eggs.
Docker makes everything infinitely more stable and it’s not that big of a deal to get running. It’s better than the old days of controlled chaos.
None of those things require Docker or Kubernetes…
I don’t necessarily disagree. There are many ways to achieve the same or similar results. But docker seems to have become the popular option to the point where services are offering docker configurations out of the box. Meaning I have a standard, officially sanctioned way of doing what you described. Someone has already figured out how to properly containerize what to me is only a dependency and I can focus my efforts elsewhere. The option to get my hands dirty is still available, but it becomes a choice.
Yup, you can definitely take shortcuts that make development easier at the cost of maintenance being harder and more expensive. That’s exactly the problem I was describing.
Yeah I’m hosting a video streaming service, a Discord clone, a CMS, git web, and my blog on a $120 ThinkCentre (4 cores, 8GB RAM, 1TB SAMSUNG SSD) in my home, and it works wonderfully. Basically no upkeep costs, the extra electricity used is not even noticeable.
I am thinking about hosting a single user instance in which I could have communities on a Raspberry Pi 4. Do you think it is doable? Asking because if not I’ll just get a VPS.
Yes, but you will need to put the database and static file storage on a USB or network storage device as opposed to the SD card. The networking is going to be the hard part.
I replaced the SD card with a 2TB SSD connected via USB, so that should probably work then. The networking will indeed be confusing. I am already using the Pi to run a Nextcloud server, Jellyfin server, and a few other smaller applications. I imagine it is possible to also have a reverse proxy on the same machine? Also the join-lemmy site and install docs keep giving me a 502 bad gateway so something in production must be wrong right now, I guess I’ll have to wait until tomorrow.
Yeah, if you already have the routing and such set up for nextcloud/etc then it should be simple to add another reverse proxy to lemmy.
Re: the site being down, you can find the Markdown documentation here: https://github.com/LemmyNet/lemmy-docs/blob/4249465e9960cad97245aa03b3ad4c758ff945c7/src/en/administration/administration.md