docker
Standard Angular builds bake environment variables into the code at build time. This means if you have Dev , Staging , and Prod environments, you have to build the app three times. That's a waste of time. Instead, we should build a single Docker image and swap configurations at runtime. Here is how to do it. 1. The Strategy We will store environment-specific configurations in JSON files and use a…
Self host docker guide: if you’ve been copy-pasting docker run commands on your laptop, you’re one reboot away from losing something important. A small VPS is the cleanest upgrade—stable IP, predictable uptime, and a place where your containers can live like they’re supposed to. Pick a VPS you won’t hate managing For Docker self-hosting, you don’t need “cloud architecture.” You need a boring Linu…
What I Deployed The EpicBook is an online bookstore with a Node.js + Express backend, MySQL database, Handlebars frontend, and Nginx reverse proxy. It has real data: 54 books and 53 authors. The architecture: Internet (port 80) | v Nginx (reverse proxy) | frontend_network v Node.js App (port 8080, internal) | backend_network v MySQL (port 3306, in…

