A "No Internet" Backup Plan

Hey guys, so I wanted to have this out there as I have tried to come out with a plan for a scenario like this but wanted to see what many of you would do as well.

So let's say one fine day the internet goes down for any reason (country internet blocking, sanctions, zombie apocalypse, nuclear war, etc), all the services we already self host would work pretty much the same, locally but no longer over the internet.

Now the issue would come if said "No Internet" tends to extend over a period of time. We might need to provision new servers, move and install stuff somewhere else, etc. I am looking for a way to have a fully functioning flow to setup servers and build apps in times of need.

I do build mobile apps using SvelteKit and Capacitor and NodeJS for backend stuff. Let's assume we wanna add React and React Native to this as well, how would one have the ability to spin up a new project without having internet access but NPM locally maybe?

Also the ability to build and deploy docker containers in a local network environment entirely

Below are the things I would need to have full offline copies

  • Proxmox
  • Ubuntu
  • Docker installers
  • NPM libraries
  • Docker images registry (for services I install but not built by me - ex: Bitwarden, Nextcloud, etc)

Just wanted to see what any of you would do for a setup like this. That said, I'm well aware this is a situation that might not happen in my lifetime maybe?, but the government turning off internet access has happened in other countries before so I just thought of seeing if anyone else has thought about this and the best method to approach this xD

Cheers!