Docker Compose in Production on a Single VPS: Step-by-Step Setup
Docker Compose on a server: install from the Docker repo, restart policies, healthchecks, log rotation, secrets, PostgreSQL backups, updates and disk cleanup.
All articles on this topic. All articles
Docker Compose on a server: install from the Docker repo, restart policies, healthchecks, log rotation, secrets, PostgreSQL backups, updates and disk cleanup.
Install PostgreSQL 18, create a user and database for your app, then connect over an SSH tunnel or allow one address over TLS, with a check for each step.
Use free, vmstat, dmesg and journalctl to tell a server is out of memory, find the process the OOM killer killed and limit a service's or container's memory.
Updates, a sudo user, key-only SSH, UFW firewall, automatic security updates, fail2ban, time and a swap file. Step by step, with a check for each.