HIMASHA HERATH
02 / Production InfrastructureOperational

Self-hosted infrastructure & CI/CD

Operating the machine, end to end

Role
Solo
Period
2024 to Present
Stack
Docker · GitHub Actions · Caddy · n8n · Linux
self-managed server — how deploys work
Full-page capture of self-managed server — how deploys work

Project evidence

Push-to-deploy services on a self-managed Linux server

01

Context

I run my own production environment on a self-managed Linux server instead of defaulting to managed platforms. Partly for cost, but mostly because running infrastructure yourself is the fastest way to actually understand it.

02

What I built

A Dockerized multi-app setup behind Caddy with automatic HTTPS, deployed through GitHub Actions: push to main and the pipeline builds, ships, and restarts whatever changed. It has hosted several apps, with n8n picking up the scheduled jobs and integrations around them.

03

Key decisions

I kept it deliberately boring: Docker Compose instead of Kubernetes, Caddy instead of hand-tuned nginx, one small server run properly instead of scale I don't need. The real effort went into the pipelines: zero-downtime restarts, secrets handling, getting deploys to the point where I don't think about them.

04

Outcome

Running since 2024, and the kind of operational instinct you only pick up when there's no platform to blame at 2am. It's changed how I write software during the day too.