How do you handle TLS certificates for Docker-hosted services?
IntermediateProductionArchitecture & Design Decisions
Answer
Terminate at a managed load balancer (ACM on ALB) or at Caddy/Traefik with automatic ACME. Keep certs in a persistent volume (acme.json with mode 600) so restarts do not re-issue and hit rate limits. For service-to-service mTLS use a service mesh or SPIFFE/SPIRE, not hand-copied certificates.
More on Architecture & Design Decisions
How would you design a container build-and-deploy pipeline from commit to production?AdvancedWhen should you use Docker Compose, Swarm, ECS, or Kubernetes?IntermediateHow do you decide how many processes belong in one container?BeginnerHow do you design the config strategy for containerized apps (12-factor)?IntermediateHow would you containerize a legacy app that writes to local disk and holds sessions in memory?AdvancedAlpine or Debian-slim for a Python service?Intermediate