#Docker
5 posts tagged Docker. All posts
Docker and Local Dev EnvironmentsHow I use Docker and docker-compose for local development, mail capture, test stacks and scraper/OCR services.
Change data capture in Postgres with logical replication slotsStream inserts, updates and deletes out of Postgres: wal_level=logical, slots with test_decoding and pgoutput, REPLICA IDENTITY, publications, and a Python consumer.
Caddy as a Reverse Proxy with Automatic HTTPSPut Caddy in front of your apps: reverse_proxy, automatic certificates and what they need, several sites, headers, load balancing, Compose and local HTTPS.
Smaller Docker images with multi-stage buildsSplit a Dockerfile into builder and runtime stages: COPY --from, slim and distroless bases, BuildKit cache mounts, .dockerignore, and how to check what an image contains.
Running OCRmyPDF in a containerized Azure FunctionPackage OCRmyPDF, Tesseract and Ghostscript into a custom Azure Functions container and expose an HTTP endpoint that OCRs an uploaded PDF and returns its text.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)