π³ π Docker Compose Tip #93
An app connects to localhost:6379, but Redis never lives in the same place twice across dev/staging/prod. The ambassador pattern puts that difference in one disposable proxy, not app code.

π³ π Docker Compose Tip #93
An app connects to localhost:6379, but Redis never lives in the same place twice across dev/staging/prod. The ambassador pattern puts that difference in one disposable proxy, not app code.
Version one stays on peopleβs phones longer than you think. Most apps learn this the hard way.
#iosdev #appdevelopment #mobiledev #appstore #mvp #vibecoding #startups #swiftui #reactnative #buildinpublic #kotlin #compose #flutter
π³ π Docker Compose Tip #91
A provider used to push to a registry or shell out to docker save by hand to get bytes to a remote runtime. Compose 5.6.0 lets it opt into the same image phase and request them directly.
Guide: lours.me/posts/compose-tip-091-provider-image-distribution/
#compose #galvanisent #rappeler
#appeler #compose #dΓ©sormais
Recent Compose improvements show how quickly declarative UI continues evolving. The future belongs to tools that make iteration faster without sacrificing quality. #Compose #ComposeMultiplatform #AndroidDev
I just posted my new article!
https://terrablog.pages.dev/blog/profiling-compose-multiplatform-app-in-browser/
I'm adding a BMR base metabolic rate and maintenance calorie computation into #HealthCoach.
https://github.com/bigtlb/healthcoach
But, I didn't want to constrain to just the binary gender options. And wanted to also provide guidance [β¦]
π³ π Docker Skills, Part 1
AI agents write mediocre Dockerfiles: latest tags, no health checks, root left in place. docker/skills fixes that: 11 SKILL.md guides across Build, Compose, Sandboxes, Agent.
npx skills add docker/skills
π³ π Docker Compose Tip #90
docker compose alpha viz turns depends_on into a Graphviz graph. Pipe into dot -Tpng and any Compose file becomes a picture.
Still alpha since April 2023, no graduation date yet.
π³ π Docker Compose Tip #89
cap_drop: ALL doesn't just fence in non-root users, it takes CHOWN away from root (uid 0) too.
Gotcha: the classic "drop NET_RAW, ping breaks" demo often does nothing on modern hosts.
Someone told you to run docker swarm init on a single VPS. That was a cargo cult. Here's how to rip out Swarm and switch to Docker Compose the right way. https://www.valtersit.com/guides/docker/docker-swarm-is-dead-long-live-compose/ #docker #devops #compose
π³ π Docker Compose Tip #88
docker compose alpha generate creates a Compose file from running containers. Still alpha: skip a host IP on a published port and it writes host_ip: invalid IP
A real bug, and an easy first PR.
Guide: lours.me/posts/compose-tip-088-alpha-generate/
#Docker #Compose #CLI
#coup #jour #compose
π³ π Docker Compose Tip #87
depends_on has more than service_healthy: wait for a one-shot with service_completed_successfully, cascade restarts with restart: true, or soften it with required: false.
π³ π Docker Compose Tip #86
Meet initial_sync, the watch attribute for catching up a running stack.
5.5.1: every file now syncs, Dockerfiles stay out, symlinks don't break it.
Guide: lours.me/posts/compose-tip-086-watch-sync-reliability/
π³ π Docker Compose Tip #85
See what's incubating: docker compose alpha is where new commands land before going stable.
Right now: viz (dependency graphs) and generate (reverse a Compose file from running containers).
π³ π Docker Compose Tip #84
A failing post_start / pre_stop / pre_start hook used to report only:
db hook exited with status 1
Since Compose 5.5.1, its output travels with the error too.
Guide: lours.me/posts/compose-tip-084-lifecycle-hook-output/