Tag: docker
All the articles with the tag "docker".
Building a Next.js Docker image on a low-memory VPS with temporary swap
My VPS had about 2.4 GB of free RAM and no swap. I added a 4 GB swapfile for the Next.js build, removed it afterwards, and later moved the build off the server.
Deploy a Docker site to a VPS with GitHub Actions, GHCR and SSH
The workflow I use to build an image on GitHub, push it to GHCR and restart the container on my VPS over SSH, with the two things that made the first runs fail.
Running a GPU-first Gradio app CPU-only on a 2 vCPU VPS
An open-source Gradio app defaulted to CUDA and NVENC. I packaged it for a VPS with no GPU: CPU torch wheels, a baked-in model, a login and a memory cap.
A single-user notes app on FastAPI with files in an S3 bucket
How I built a private notes app: FastAPI, SQLite for text, a self-hosted S3 bucket for files, and a storage key that can only touch that one bucket.
Replacing MinIO with RustFS for self-hosted S3 on a small VPS
I needed S3-compatible storage next to n8n on one VPS and did not want to install MinIO. RustFS in one container, behind nginx, uses about 60–90 MB of RAM.
n8n 2.x "Unrecognized node type" for Execute Command: use a sidecar
n8n 2.x excludes the Execute Command node by default, so my workflow would not activate. I left it disabled and moved the shell work into a small HTTP sidecar on a private Docker network.
Watch Playwright tests run live on a VPS with noVNC and nginx
How I run headed Playwright tests on a headless server and watch the real browser in a web page: Xvfb, x11vnc and noVNC in one container, locked behind nginx auth_request.
Sandboxing an AI agent web app in Docker behind nginx basic auth
The Docker flags, mounts and resource caps I use to run an AI agent app with shell access on a shared 2 vCPU VPS, plus the localhost-bind problem that needed a one-line patch.