Infrastructure
Docker, Nginx, Linux, deployment, and observability guides for running applications in production.
Start here #
- Set up HTTPS with Nginx and Let’s Encrypt
- Automate Docker Compose deployments
- Investigate an application with OpenTelemetry
All articles #
Setting Up NGINX with Let's Encrypt for HTTPS in Docker Compose
·6 mins
Set up Nginx and Certbot in Docker Compose to obtain and renew a Let's Encrypt HTTPS certificate.
Find Which Process Is Using a Port on macOS
··2 mins
Find listening ports and their processes on macOS using lsof, then inspect or stop the process using a port.
How to Set Up a Process Daemon on Ubuntu Linux with systemd
·2 mins
Run an application as a systemd service on Ubuntu, configure automatic restarts, and inspect its status and logs.
Load Balancing Docker Compose Replicas Using Nginx
·5 mins
Use Nginx to distribute requests across Docker Compose replicas, with an example configuration for a Node.js application.
Load Balancing Docker Compose Replicas Using Docker Swarm
·4 mins
Learn how to overcome port conflicts when using replica counts in Docker Compose by switching to Docker Swarm for built-in load balancing.
Seamless Integration: Setting Up Lark Webhooks for Uptime Kuma Notifications
·2 mins
Connect Uptime Kuma to a Lark group bot webhook to receive service uptime and outage notifications.
Free Up Disk Space on Linux: Find Big Files Fast
·3 mins
Learn how to quickly find and manage large files on your Linux system using tools like ncdu and the find command to free up disk space and optimize storage.
Automated Docker Compose Deployment with GitHub Actions
·4 mins
Learn how to set up an automated deployment pipeline using GitHub Actions and Docker Compose. This guide provides step-by-step instructions to connect to a server via SSH, update Docker images, and restart containers automatically, ensuring your applications are always running the latest code with minimal manual intervention.
Limit Docker Log Size to Prevent Disk Exhaustion
·2 mins
A practical guide on how to limit Docker container logs to prevent errors such as 'No space left on device' and 'Cannot create directory'.
Nginx: Rewrite Path without normalizing URI in proxy_pass
·2 mins
This article provides a way to configure rewriting the path without normalizing the URI while using proxy_pass.