Tech lead of Compose Team
DHI images = max security. But no tools for healthchecks!
Solution: Secure sidecar
app-health:
image: dhi.io/curl:8-debian13-dev
network_mode: "service:app"
Shares network → localhost works!
Guide: lours.me/posts/compose-tip-008-dhi-healthcheck/
#Docker #Security
DHI images = max security. But no tools for healthchecks!
Solution: Secure sidecar
app-health:
image: dhi.io/curl:8-debian13-dev
network_mode: "service:app"
Shares network → localhost works!
Guide: lours.me/posts/compose-tip-008-dhi-healthcheck/
#Docker #Security
👇🏻
#Docker
DHI images = max security. But no tools for healthchecks!
Solution: Secure sidecar
app-health:
image: dhi.io/curl:8-debian13-dev
network_mode: "service:app"
Shares network → localhost works!
Guide: lours.me/posts/compose-tip-008-dhi-healthcheck/
#Docker #Security
👇🏻
#Docker
DHI images = max security. But no tools for healthchecks!
Solution: Secure sidecar
app-health:
image: dhi.io/curl:8-debian13-dev
network_mode: "service:app"
Shares network → localhost works!
Guide: lours.me/posts/compose-tip-008-dhi-healthcheck/
#Docker #Security
DHI images = max security. But no tools for healthchecks!
Solution: Secure sidecar
app-health:
image: dhi.io/curl:8-debian13-dev
network_mode: "service:app"
Shares network → localhost works!
Guide: lours.me/posts/compose-tip-008-dhi-healthcheck/
#Docker #Security
Need to restart just one service? Keep the rest running:
docker compose up -d web
Updates and restarts ONLY the web service. Database, message broker queues stay up, no data loss.
Guide: lours.me/posts/compose-tip-007-restart-single/
#Docker #DockerCompose
Need to restart just one service? Keep the rest running:
docker compose up -d web
Updates and restarts ONLY the web service. Database, message broker queues stay up, no data loss.
Guide: lours.me/posts/compose-tip-007-restart-single/
#Docker #DockerCompose
Need to restart just one service? Keep the rest running:
docker compose up -d web
Updates and restarts ONLY the web service. Database, message broker queues stay up, no data loss.
Guide: lours.me/posts/compose-tip-007-restart-single/
#Docker #DockerCompose
Need to restart just one service? Keep the rest running:
docker compose up -d web
Updates and restarts ONLY the web service. Database, message broker queues stay up, no data loss.
Guide: lours.me/posts/compose-tip-007-restart-single/
#Docker #DockerCompose
No more hardcoded IPs. Services find each other by name:
web:
environment:
DB_HOST: postgres # Just the service name
Compose handles the DNS. Zero config needed.
Details: lours.me/posts/compose-tip-006-service-discovery/
#Docker #DockerCompose
No more hardcoded IPs. Services find each other by name:
web:
environment:
DB_HOST: postgres # Just the service name
Compose handles the DNS. Zero config needed.
Details: lours.me/posts/compose-tip-006-service-discovery/
#Docker #DockerCompose
Créer un ChatBot Intelligent avec LangChain4J !
Par @agoncal.bsky.social - Java Champion - ParisJUG - DevoxxFr - Principal Software Engineer chez Microsoft
Inscription obligatoire sur : www.meetup.com/codeursensei...
Créer un ChatBot Intelligent avec LangChain4J !
Par @agoncal.bsky.social - Java Champion - ParisJUG - DevoxxFr - Principal Software Engineer chez Microsoft
Inscription obligatoire sur : www.meetup.com/codeursensei...
No more hardcoded IPs. Services find each other by name:
web:
environment:
DB_HOST: postgres # Just the service name
Compose handles the DNS. Zero config needed.
Details: lours.me/posts/compose-tip-006-service-discovery/
#Docker #DockerCompose
No more hardcoded IPs. Services find each other by name:
web:
environment:
DB_HOST: postgres # Just the service name
Compose handles the DNS. Zero config needed.
Details: lours.me/posts/compose-tip-006-service-discovery/
#Docker #DockerCompose
this week we talked about config command, --env-file flag, health checks, ssh in builds...
All at lours.me/posts/
What Compose challenges do you face? Let me know!
Coming soon Service discovery, DHI security, OCI artifacts & more! 🚀
#Docker #DockerCompose
this week we talked about config command, --env-file flag, health checks, ssh in builds...
All at lours.me/posts/
What Compose challenges do you face? Let me know!
Coming soon Service discovery, DHI security, OCI artifacts & more! 🚀
#Docker #DockerCompose
this week we talked about config command, --env-file flag, health checks, ssh in builds...
All at lours.me/posts/
What Compose challenges do you face? Let me know!
Coming soon Service discovery, DHI security, OCI artifacts & more! 🚀
#Docker #DockerCompose
this week we talked about config command, --env-file flag, health checks, ssh in builds...
All at lours.me/posts/
What Compose challenges do you face? Let me know!
Coming soon Service discovery, DHI security, OCI artifacts & more! 🚀
#Docker #DockerCompose
Car il estime que son pouvoir n’est limité que par « sa propre morale »...
Voilà très précisément pourquoi le droit international et, plus largement encore, le droit est une nécessité absolue.
C'est même vital contre les tyrans.
Car il estime que son pouvoir n’est limité que par « sa propre morale »...
Voilà très précisément pourquoi le droit international et, plus largement encore, le droit est une nécessité absolue.
C'est même vital contre les tyrans.
Help AI tools help you. Add comments:
# PostgreSQL with geographic data
db:
image: postgis/postgis:15-3.3
# WARNING: Check ./data ownership (1000:1000)
Future maintainers will appreciate it too.
Guide: lours.me/posts/compose-tip-005-ai-documentation/
#Docker #AI
Help AI tools help you. Add comments:
# PostgreSQL with geographic data
db:
image: postgis/postgis:15-3.3
# WARNING: Check ./data ownership (1000:1000)
Future maintainers will appreciate it too.
Guide: lours.me/posts/compose-tip-005-ai-documentation/
#Docker #AI
Need private repos during build? Use SSH securely:
build:
ssh:
- default
RUN --mount=type=ssh \
git clone [email protected]:private/repo.git
Keys never stored in image!
Guide: lours.me/posts/compose-tip-004-ssh-build/
#Docker #Security #Compose
Need private repos during build? Use SSH securely:
build:
ssh:
- default
RUN --mount=type=ssh \
git clone [email protected]:private/repo.git
Keys never stored in image!
Guide: lours.me/posts/compose-tip-004-ssh-build/
#Docker #Security #Compose
Need private repos during build? Use SSH securely:
build:
ssh:
- default
RUN --mount=type=ssh \
git clone [email protected]:private/repo.git
Keys never stored in image!
Guide: lours.me/posts/compose-tip-004-ssh-build/
#Docker #Security #Compose
Need private repos during build? Use SSH securely:
build:
ssh:
- default
RUN --mount=type=ssh \
git clone [email protected]:private/repo.git
Keys never stored in image!
Guide: lours.me/posts/compose-tip-004-ssh-build/
#Docker #Security #Compose
k33g.hashnode.dev/i-resurrecte...
k33g.hashnode.dev/i-resurrecte...
"Connection refused" at startup? Stop using sleep 10.
depends_on:
db:
condition: service_healthy
Now your app waits for the database to actually be ready.
Examples: lours.me/posts/compose-tip-003-depends-on-healthcheck/
#Docker #DockerCompose
"Connection refused" at startup? Stop using sleep 10.
depends_on:
db:
condition: service_healthy
Now your app waits for the database to actually be ready.
Examples: lours.me/posts/compose-tip-003-depends-on-healthcheck/
#Docker #DockerCompose
"Connection refused" at startup? Stop using sleep 10.
depends_on:
db:
condition: service_healthy
Now your app waits for the database to actually be ready.
Examples: lours.me/posts/compose-tip-003-depends-on-healthcheck/
#Docker #DockerCompose
"Connection refused" at startup? Stop using sleep 10.
depends_on:
db:
condition: service_healthy
Now your app waits for the database to actually be ready.
Examples: lours.me/posts/compose-tip-003-depends-on-healthcheck/
#Docker #DockerCompose
Rencontrez le comité CFP dans cette vidéo : www.youtube.com/watch?v=GrOx...
qui se sont prêtés au jeu des questions, merci à eux 🙏
👉 Soumettez vite votre talk sur devoxxfr2026.cfp.dev
Rencontrez le comité CFP dans cette vidéo : www.youtube.com/watch?v=GrOx...
qui se sont prêtés au jeu des questions, merci à eux 🙏
👉 Soumettez vite votre talk sur devoxxfr2026.cfp.dev
Same compose.yml for dev/staging/prod:
docker compose --env-file .env.dev up
docker compose --env-file .env.prod up
No more copying env vars around. Each environment gets its own file.
More: lours.me/posts/compose-tip-002-env-files/
#Docker #DockerCompose
Same compose.yml for dev/staging/prod:
docker compose --env-file .env.dev up
docker compose --env-file .env.prod up
No more copying env vars around. Each environment gets its own file.
More: lours.me/posts/compose-tip-002-env-files/
#Docker #DockerCompose
Works with @docker.com Model Runner 😍, Ollama, Hugging Face, Cerebras...
Check it out: k33g.hashnode.dev/hello-nova
Works with @docker.com Model Runner 😍, Ollama, Hugging Face, Cerebras...
Check it out: k33g.hashnode.dev/hello-nova