BlogSelf-hosting
How to add swap on Ubuntu 24.04, timed (and why Docker builds need it)
On our 1 GB Ubuntu 24.04 droplet a 1 GB swap file took 0.01 s with fallocate and 4.1 s with dd. The 5 commands, how much to add, and why Docker builds need it.
Home›Self-hosting
Coolify, Dokploy, n8n, monitoring and more, installed step by step on cheap servers.
BlogSelf-hosting
On our 1 GB Ubuntu 24.04 droplet a 1 GB swap file took 0.01 s with fallocate and 4.1 s with dd. The 5 commands, how much to add, and why Docker builds need it.
BlogSelf-hosting
On a 1 GB droplet already in swap, restic backed up of 2 Postgres dumps and 6 Docker volumes in 27 s, restored in 7 s, and both databases came back row for row.
BlogSelf-hosting
On one 1 GB server, at one moment, free said 769 MB used, docker stats added up to 343 MB and ps to 904 MB. What each tool counts, and which number to trust.
BlogSelf-hosting
Our $6 droplet has run Coolify, n8n, Postgres and Uptime Kuma for 5 days. Nothing crashed, but 991 MB sits in swap. The numbers, and when to move up.
BlogSelf-hosting
sslip.io and nip.io turn any IP address into a hostname with no DNS setup. We ran the lookups: both are now one service with the same nameservers and formats.
BlogSelf-hosting
Coolify's dashboard uses port 8000 by default, plus 22, 80, 443, 6001 and 6002. Which three to close once a domain is set, and why UFW alone fails.
BlogSelf-hosting
Coolify's docs ask for 2 cores and 2 GB, yet call 1 core and 1 GB a fair budget start. We measured a $6 droplet to see where 1 GB holds and where it breaks.
ReviewSelf-hosting
We installed Coolify on DigitalOcean's cheapest 1 GB droplet and timed every step: 172 s to the login page, first app live in 10 minutes, memory measured.