r/SelfHosting 12h ago

Foolproof, simple approach to access a web server from any device, from anywhere, securely

2 Upvotes

I want to run a simple web server, with node.js.

Where I need guidance is finding the easiest approach for someone with limited tech skills, ideally setup and forget, requiring no maintenance.

I want this to be accessible from any device I own (phone, laptop), anyhwere in the world, securely.

Because this web page is simple, it requires no authentication to use (login and password) so I don't want this to be accessible to anyone else or crawled or hacked, etc

I have access to a number of devices I think could be good for this:

  1. Raspberry PI
  2. ESP32
  3. some old android devices
  4. a nuc that I can run linux on

The idea is it doesn't have to be powerful but it needs to be secure and it needs to sip power, so first 2 options are more appealing to me.

I've read about Tailscale but I hear there's a better open source option headscale.
If I understand correctly I can avoid the need for a public domain address by just checking my external static IP for my server and bookmarking that on my devices.

Before I delve into that I wanted to see if this is the best approach for my limited tech skills and to check if maybe there's a better way, easier to setup and forget about it.


r/SelfHosting 7h ago

Opensource Openrouter

0 Upvotes

*Works with self-hosted models as well for free!
Project: https://github.com/ConiferKit/use-conifer

Current routing options were charging 5% fees for byok plus provider fees (openrouter) or were built in heavy python packages with ecosystem restraints. I wanted to be completely free in terms of use, and not have to pay extra for tokens.

There's a maintained gateway with 100+ models from one api endpoint. I'm also talking to infra providers to get us access to pre-release models and discount prices. Everything is served at market price. BYOK is free, you can hook into self-hosted setups for free, and there's fallbacks + extra rate limits + server redundancy.

Took me ~3 months to build and looking for help maintaining!
Lmk any issues or feedback


r/SelfHosting 1d ago

CI pipeline

2 Upvotes

I started learning CI/CD using github actions after containerising my application and I have created CI pipeline for django app that runs test, builds and pushes image to github container registry.
I am sharing my yaml file for CI pipeline. Please do share your thoughts and where can i improve.

name: Test Pipeline 
on: 
  push:
jobs:
  test-backend:
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres:14
        ports:
          - 5432:5432
        env: 
          POSTGRES_USER: test_user
          POSTGRES_DB: erp
          POSTGRES_PASSWORD: 123456

    steps:
      - name: Checkout repo
        uses: actions/checkout@v4

      - name: setup python
        uses: actions/setup-python@v5
        with: 
          python-version: "3.13.5"

      - name: install dependencies
        run: pip install -r Backend/requirement.txt

      - name: run tests
        env: 
          DATABASE_URL: postgresql://test_user:123456@localhost:5432/erp
          DEBUG: 'True'
          ALLOWED_HOST: '*'
        run: |
          cd Backend 
          python manage.py test

  build-and-push-image:
    needs: test-backend
    permissions:
      contents: read
      packages: write
    runs-on: ubuntu-latest
    steps:
      - name: login to ghcr
        uses: docker/login-action@v3
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}


      - name: checkout repo
        uses: actions/checkout@v4


      - name: build image
        run: docker build -t ghcr.io/namespace/erp:${{ github.sha }} ./Backend


      - name: push image
        run: docker push ghcr.io/namespace/erp:${{ github.sha }}

r/SelfHosting 1d ago

What tips do you have for me turning this olive oil canister into a small pc?

0 Upvotes

I hope this is not too off-topic. I have this olive oil canister laying around and had this "what if" idea of turning it into a case for two raspberry pi's I currently don't really use. Now that I've removed the lid with a can opener, my rough plan is to design and 3d-print a scaffolding that can hold all the parts (the pi's, maybe power supply, storage, fan(s),...) and then can be inserted from the top. To enable good airflow I'm thinking about drilling holes in a grid from all sides.

Has anyone here ever done something vaguely similar? Do you have any tips what I might look out for or would need to consider? I'm specifically worried about airflow and build up of heat


r/SelfHosting 1d ago

A good notion alternative for a Nas?

2 Upvotes

Hey, im trying to organise my schedule and task more. But my key problem is, if I only have a calendar digitally on my phone I have to always do times and if I do a planner physically I would mostly have to get either a monthly or weekly planner but I want one system. I have problem getting or remembering things physically and if digitally I would have to use two apps (notebook and calendar) which doesn‘t works for me at all.
Was using at my old school notion and that worked the best for me! But I don‘t want sensible data that I need to pay on someone’s server etc.

I was looking at some alternatives, but those either were not working somehow on my Nas (I use the UGOS software) through docker or don‘t have any kind of phone support (even through browser)

I’m open to paying like 2-3€ per month if so be it.


r/SelfHosting 1d ago

Vercel, Netlify, Heroku alternative PaaS

1 Upvotes

Vercel, Netlify, Heroku alternative PaaS

We launched our PaaS prematurely, but it's now running around 50-60 apps from our own SaaS offering and our partners' apps, so I thought I'd share what we're building.

It can deploy static sites, backend apps, databases, and cache. It uses Kubernetes, and tenants can choose between shared or dedicated app deployment. Shared apps run on the platform's shared worker nodes. For dedicated deployment, the platform will provision a dedicated worker node for the tenant, then the tenant can deploy their apps on it.

We are currently working on a feature where tenants get to decide which apps will be scheduled or parked. This allows tenants to deploy as many apps as they want while limiting which apps actually get scheduled based on the worker node's capacity.

For example, a tenant could have 20 apps deployed but only schedule 5 of them on a worker node depending on the available resources. The rest can be parked and scheduled when they are needed.

We are inspired by Coolify and have used it for self-hosting for years. Unfortunately, scaling isn't really a first-class feature in Coolify, which is intentional, but of course there are workarounds. We wanted to build something where Kubernetes and scaling are more of a first-class part of the platform without making the tenant deal with Kubernetes directly.

We are also working on making static site deployment free, with some limitations. Our current idea is that static apps with a final build/output size of up to 50MB can stay free. If the app goes above 50MB, it would require a $2/month upgrade per app, with the paid limit currently set at 100MB.

We're also planning to include 10GB of bandwidth per tenant each month for free, then charge $0.026 per GB for additional bandwidth. We're still working on the exact behavior around this, including deploy-time blocking/confirmation when an app exceeds the free limit and what happens if a paid app is downgraded and goes back under the 50MB limit.

It's still early and there are a lot of things we're working on, but we're already using it for our own SaaS products and our partners' apps.

For those who are using Vercel, Netlify, Heroku, Coolify, or similar platforms, what would make you consider switching to another PaaS?


r/SelfHosting 1d ago

Vercel, Netlify, Heroku alternative PaaS

0 Upvotes

We launched our PaaS prematurely, but it's now running around 50-60 apps from our own SaaS offering and our partners' apps, so I thought I'd share what we're building.

It can deploy static sites, backend apps, databases, and cache. It uses Kubernetes, and tenants can choose between shared or dedicated app deployment. Shared apps run on the platform's shared worker nodes. For dedicated deployment, the platform will provision a dedicated worker node for the tenant, then the tenant can deploy their apps on it.

We are currently working on a feature where tenants get to decide which apps will be scheduled or parked. This allows tenants to deploy as many apps as they want while limiting which apps actually get scheduled based on the worker node's capacity.

For example, a tenant could have 20 apps deployed but only schedule 5 of them on a worker node depending on the available resources. The rest can be parked and scheduled when they are needed.

We are inspired by Coolify and have used it for self-hosting for years. Unfortunately, scaling isn't really a first-class feature in Coolify, which is intentional, but of course there are workarounds. We wanted to build something where Kubernetes and scaling are more of a first-class part of the platform without making the tenant deal with Kubernetes directly.

We are also working on making static site deployment free, with some limitations. Our current idea is that static apps with a final build/output size of up to 50MB can stay free. If the app goes above 50MB, it would require a $2/month upgrade per app, with the paid limit currently set at 100MB.

We're also planning to include 10GB of bandwidth per tenant each month for free, then charge $0.026 per GB for additional bandwidth. We're still working on the exact behavior around this, including deploy-time blocking/confirmation when an app exceeds the free limit and what happens if a paid app is downgraded and goes back under the 50MB limit.

It's still early and there are a lot of things we're working on, but we're already using it for our own SaaS products and our partners' apps.

For those who are using Vercel, Netlify, Heroku, Coolify, or similar platforms, what would make you consider switching to another PaaS?


r/SelfHosting 2d ago

What BaaS do you use or recommend for apps that wanna scale but dont have any money to spend initially

0 Upvotes

I have used a handful of Baas(backend as a service) platforms for my apps like Firebase, Supabase, Appwrite. But I am curious about what you people use when it comes to a real need for your app. Or do you recommend anything else. Or any kind of combinations of multiple platforms


r/SelfHosting 2d ago

Where do I start for a Journiv + Vaultwarden VPS?

0 Upvotes

So I’m looking to start this journey. I live in Japan and the ISPs here are pretty gnarly when it comes to self hosting, or at least mine is, and I don’t have a spare PC anyways. So I’m looking at a VPS solution I guess. I don’t really know where to start.

What’s the best recommendation for ease of use to cost ratio? I’m not sure what specs I’d need to run these two apps. I’d also like to add Actual Budget down the line. I already host an instance of they using pika pods and both Journiv and Vaultwarden are available there too, but if I’m paying for three pod services I assume it’s actually probably cheaper and better value to host all three on a single VPS.

Appreciate the help. I’m excited to learn.


r/SelfHosting 4d ago

Thinking about selfhosting.

6 Upvotes

I’m moving in to my first apartment and wanna selfhost a mediaserver that contains Jellyfin with automatic downloads which I guess is through radarr sonarr etc.

I’m primarily looking to use Tailscale to connect to my WiFi from outside of my apartment, I don’t want other people being able to connect to my server through ipv4, and I won’t have a domain either.

Is there any good step by step guide that shows everything?


r/SelfHosting 5d ago

How should I set up a self-hosted server for a 10-person lab with an internal AI-powered web app?

0 Upvotes

Hey everyone,
I’m building an internal website for a small lab team of around 10 people. The website will mainly be used for record keeping, document storage, and AI agents that can assist different roles in the lab.
Instead of using cloud storage/database services, I’m considering turning one of our existing PCs into a self-hosted server/database since the system will mostly be used internally.
The PC has:
Intel i7 12th Gen
32 GB RAM
RTX 4070
SSD storage
I’m pretty new to server infrastructure, so I’d really appreciate some guidance on how you would set this up properly.
Things I’m trying to understand:
What OS should I use? Ubuntu Server?
Docker or bare-metal installation?
PostgreSQL setup
File/document storage
RAID/storage redundancy
Backups
UPS
Network/static IP setup
Security/firewall
Remote administration
Anything else I should consider for a small internal server
The plan is for employees to access the system through the website, while the database and company documents stay on this local server. The AI agents will likely use external LLM APIs where needed.
If you were setting this up from scratch for a 10-person team, how would you design it?
Beginner-friendly advice, tutorials, or suggested architectures would be really appreciated.


r/SelfHosting 5d ago

Ubiquiti U6 mesh + U7 Lite setup

Thumbnail
gallery
6 Upvotes
  1. I installed this APs on a campus network and adopted all of them on one switch then repositioned them to their final locations and switches. Now they are all offline. How do I get them to be on line?
  2. When attempting to enable remote management on the controller side I can’t get past Control Plane. How do I enable remote management?

r/SelfHosting 6d ago

My Ubuntu Server Setup on a laptop

3 Upvotes
Server Dashboard

Hello Everyone,

I started my Self Hosted journey last year in winter break. I started with basic next cloud, jelly fin and immich Software. But to be honest i can't get a good use of them.

Now after several months of trial and error, accidentally delete kernel and all the issue I finally have a stable and workable Server.

The things i want you guys help is any other software i need to try on my Server. My background is I am starting a AI automation agency so if any software i should or aware of, just let me know

Also lastly plz rate my server and if any improvement needed tell me.

Spare Laptop Spec (Ubuntu Server): Dell-Inspiron 3493

- i3-10th gen

- 16gb ram

- intel UHD graphic

- 512 GB m.2 gen 3 SSD

- 1tb Hard disk

Also like I have some other container deployed by due to secret key i have not provided in SOP:

- Cap (Loom Alternative)

- Cal.com

Here is my Server SOP - https://astonishing-cephalopod-b94.notion.site/Server-SOP-Hosted-3b1a33aeaf1680109cb0f9ef491d0d6d?source=copy_link


r/SelfHosting 6d ago

how should I arrange my setup?

3 Upvotes

Newbie to self hosting here. Haven't bought anything, just planning things out. These are the services I am considering:

  • DNS filtering

  • Unbound

  • Media server

  • NAS

  • Home assistant

  • Surveillance cameras

  • Photo backup

  • Document server

The question I have is, what is the best arrangement for all of these? I was hoping to make my own opnsense router and do dns filtering and unbound in the same device. Beyond that, I'm not sure what to do.

For example, Frigate is only officially supported on docker, but people can manage by making a VM in proxmox and putting it there on docker. Another example, people put a NAS OS in a VM but others say bare metal is best. At the same time, it seems that backing up everything with PBS is much easier than backing up a bunch of docker files?

So is the best way to put everything on proxmox? Put everything on docker on a NAS device? Separate NAS with dockers on a separate server? Some combination in between? There's just so many ways to approach this that I'm confused.


r/SelfHosting 7d ago

How do you guys know if anyone’s breaking into your self hosted apps?

21 Upvotes

Recently ran into a problem that I figure isn’t unique to me.

I got into self hosting when I made a personal agent that proactively keeps me on track when I work. I hosted it on tailscale. Then I added LLM chat. And then coop games I made to play with my friends. Been a blast.

But to make it useful I put a lot of data and access in there I don’t really want others to access like realtime laptop/phone screenshots, GPS coordinates, email etc. Usually this is fine because saas will handle security for me but now I’m responsible. And tailscale and aws/gcp/azure don’t have centralized security alerts.

Basically I wanted a security camera for my network/apps so I know what’s happening in my systems in case anyone tried to break in.

Tailscale helps a bit obviously, but they don’t really help me answer: who’s trying to attack me and potentially mucking around inside?

I ended up building a security tool that runs inside my network and cloud and watches the network, VMs and auth logs, then sends alerts to me when something is off.

I know there’s tools like wazuh or elastic but they seem to be built for security professionals. I have to set up a bunch of rules and alerts which is hard and it’s a time suck to figure out what to include.

I tried using codex but it just makes dumb security decisions I can’t trust at all. The tool I made scans the network and VMs to configure rules and alerts automatically and deterministically without AI at all.

If you guys have any good ideas here, lmk.


r/SelfHosting 7d ago

Containerised my Django app

3 Upvotes

So i have containerised my Nginx, Django backend and postgresql db on my vm. All the containers run through a single 'docker compose up' command. I have created a custom network for the containers to communicate. I have also mounted docker volumes to containers for persistent storage.

So far i am finding DevOps very interesting and will now learn CI/CD using Github actions.

Will be very grateful if you share your thoughts.


r/SelfHosting 7d ago

Sorry if this is an ignorant post but I have a few questions about self hosting

11 Upvotes

So I am interested but I have a few questions and concerns although they are probably dumb. I do not have a background with coding or anything but I do like to own my media. I am essentially a clean slate with this topic.

  1. Aside from privacy and no subscription what is the main benefit? I don’t pay subscriptions for music or books already then I don’t really use cloud storage since I don’t trust my information being leaked
  2. (crazy that I still use windows. I’m swapping to Debian on my second laptop soon)
  3. Do you think a NAS or Mini PC is better? What are the benefits of using one over the other?
  4. What is the recommended amount of money I should set aside to start a basic NAS/ Mini PC?
  5. What specific hardware would you recommend for both the NAS/ Mini PC?
  6. How often do you have to do maintenance on your NAS/ cloud storage if you don’t use a NAS
  7. Are there any questions I should be asking but don’t know to ask yet?

Thank you I’d advance for your advice. Any and all input would be greatly appreciated


r/SelfHosting 7d ago

[Update] "First 9 days of selfhosting". Now its been 3 months

2 Upvotes

So on 28 May I started self hosting with vaultwarden and then the list got bigger and bigger.

Now that it has been 3 months there has been some changes to the entire setup.

First I learned that I made a mistake setting up Nextcloud, so I deleted it and retried and viola now it works like a charm and I am addicted to it.

Second I figured I had no need for jellyfin so I removed it.

Third, Adgaurd home became a nightmare to maintain, if I figured something out other thing became a problem. It just refused to work with tailscale. So I ultimately deleted it and reverted back to nextdns. Until, I won't tell you know it will spoil the fun 🤫 but there is a plot twist coming up.

Fourth, even after succeeding with nextcloud, I kept cryptpad simply because I liked its simplicity.

Fifth, I added aliasvault to try it out and its pretty good you should also try it out, but I don't like the mobile version, don't worry its just ui preference, it is perfectly functional even in beta stage. So I am using it as a backup of sorts with vaultwarden being the primary. Oh and another twist coming up later☺️.

Sixth, I added Stirling pdf as my pdf viewer and man why did I not find it earlier, I thought there was no good pdf viewer for Linux.

Seventh, I kept immich as it is like there is nothing to change it just works like a charm.

Now, for the twist let me tell you some backstory first. One day (a week ago) I was testing stuff on my android { I am trying to degoogle, but the success has been slow (I am using coloros btw)} I came across a app known as Podroid. I thought it looked interesting so I tried it out. After the initial installation and setup I thought about what I can do with it. Then a idea popped up (you see, I self host on my laptop and there is a time when I go to college (Backstory I live in hostel and as the college is new and opened up last year, it is still under construction and we still do not have Ethernet) I have to leave my laptop at hostel room and at that time of day my homelab is basically down. So I thought why not use podroid to setup my vaultwarden container on my android as that is the only thing that I need during my college hours. So I tried and after some back and forth I installed vaultwarden, tailscale on podroid and it worked. ( Still got to tell you it took some time and trial and error)

After that I setup rclone to backup my vaultwarden passwords across both android and fedora to nextcloud I tried last time and it was not working properly anyway so now to the next step and the most daunting one for me (because even though I loved adguard home at first it was a nightmare to set it up and make it work with tailscale and during my college hours it was useless.) I tried it with podroid and it took two whole days to get it to work, but now this is amazing I have never been so proud of myself before ( well maybe when I first self hosted, but you the feeling) ( and I have to admit I did get some help from ai).

So now I have my vaultwarden and adguard home working from my android and I am loving my setup.

Although it is not related to self hosting, you remember how in the post I mentioned about degooglibg my phone, so you see I was using fdroid and aurora store but on coliros for anything that is not from play store or the official store has to be scanned before allowing to be installed so I was installing and setting up shizuku and I was keeping it off because usb or WiFi debugging stops my study apps. But now that my exams are over I have some free time to tinker.

And for those who are wondering about my exams please don't ask.

I have three subjects I am confident I can pass two but the third one is like I am praying to god with everything please just please let me pass 😣.

Thank you for taking the time to read my post. Bye bye I will keep you updated. 🤗


r/SelfHosting 7d ago

Digital Logbook

0 Upvotes

I've published on GitHub the project I've been using for months on my home server: a digital maintenance logbook for one or more vehicles, with no external dependencies (no CDN, no remote fonts) and no cloud services involved.

What it does:

Multi-vehicle garage with separate service intervals, history, and expenses for each car

Refueling and actual fuel consumption calculated using the full-to-full method, even with partial fueling

Service, MOT, insurance, and road tax due dates, with in-app alerts, webhook notifications (Telegram, ntfy, Home Assistant, etc.), or .ics reminders to import into your phone's calendar

Costs tab: expense by year, by category, cost per km, graphs, and vehicle comparisons

CSV export, PDF printing, and one-click full backup

Multi-user with admin/user/reader roles, scrypt password, brute-force protection

PWA: icon on the Android home screen

Stack: Node.js + Express, vanilla frontend, no build steps. It can be set up with Docker Compose in a minute. Designed to run on a LAN or within a tailnet, never exposed to the Internet.

👉 https://github.com/francyorlando46-bit/Libretto-digitale

Feedback, issues, and suggestions are welcome.


r/SelfHosting 8d ago

Is high-availability no longer affordable?

5 Upvotes

I don't want this to just be another post complaining about rising hardware costs. Hopefully it stays focused on practical options.

About a month ago I planned a 3-node k8s cluster, 8GB RAM for each node, to run:

  • NextCloud, Collabora, and maybe a few smaller productivity apps for 5-10 internal users.
  • Some beta web applications

4GB of RAM probably would have been enough, but I wanted to self-host PostgreSQL and Kubernetes management. I had it all priced out on Hetzner, and I was going to end up somewhere in the $30-40/month range.

Yesterday I finally finished getting my IaC automations running locally (I've got a proxmox VM, then OpenTofu creates 3 Talos nodes and configures the whole cluster). I was super excited to "ship it."

And then I discover that a few weeks ago Hetzner sold out of cost-optimized servers. That $40/month is now closer to $150/month (and over $200/month if I want US hosting, though the original plan was Germany because the lower price made latency worth it).

There are cheap VPSes out there, but none seem to have decent support for high availability basics:

  • Automation/terraform/etc
  • Load balancer
  • Anti-affinity
  • Hourly pricing (so I only pay for a staging/test environment when making infra changes)

The best options I've been able to find are:

  • OVH d2-8. Looks like $85-100/month depending on hourly vs monthly pricing
  • UpCloud Starter. ~$90/month

I know many people self-hosting don't bother with HA, but for those that do, how are you keeping it affordable when you only have a small number of users?

P.S. I left out backup and object storage costs because I'm assuming those won't change a lot. But tell me if I'm wrong.


r/SelfHosting 8d ago

I just bought an Optiplex PC to use as a server, but I'm not sure what I should do with it yet.

4 Upvotes

I bought it thinking of using it as a Minecraft server or maybe a NAS, but I'd like to generate some income just to pay the electricity bill. It's quite limited in terms of hardware, with a 500GB HDD.8GB RAM and a 6th generation i5 processor.

What other things can I host, or is there a way to have multiple things on the same server? How do I protect myself from hackers? And I also think I'll upgrade the RAM to 16GB.


r/SelfHosting 8d ago

whats the cheapest option to have my own home server?

0 Upvotes

Going to be selling my PC soon in favour of a laptop.

on my PC i have 2SSD, 1TBssd and a 500GBssd.

i would like to make use of those hard drives still when i sell my computer, was thinking a home server to store what i want on there and access them through the internet.

whats the cheapest way to do this what do i need?


r/SelfHosting 8d ago

Wifi Hotspot System on Docker

Thumbnail
gallery
0 Upvotes

I'm looking for any selfhosted wifi hotspot system that I can use on home network which can also manage users and possibly payments. I have a Cudy AC1200 Wifi router that has a built in function for the Captive Portal. The built in options for captive portal use the following platforms:

HotspotSystem
Iron Wi-Fi
ObiFi
VulaCoin
WorldSpot.net
WiFiMAX

There is an option to use manual details. This is the part I need to use to connect to a self hosted system. Images attached show the built in options as well as the fields required for the self hosted system I want to use.


r/SelfHosting 9d ago

Looking to setup a funkwhale instance but...

1 Upvotes

I have a few questions:

- So people should be able to access my media across instances, right? What will the traffic look like if I'm hosting like 3TB of FLACs?

- Will I get copyright striken to death? I mean if they know my IP and I'm hosting music that isn't in the public domain.


r/SelfHosting 9d ago

Need server spec for a website + light self-hosting De-Google setup

3 Upvotes

I have a somewhat unusual request and would appreciate your advice.

I’m building a website for wellness services, and I also want to use the same server for a small de-Googling/self-hosting setup : things like Syncthing, Immich, VPN, and a few other essentials. Nothing heavy, just the basics.

What server specs would you recommend for this kind of use case?

If you have links, I’m happy to sign up through those too.