Docker overwrites /etc/hosts at container runtime, so copying it during
build (COPY command) or mounting it as volume doesn't work reliably.
Moved to extra_hosts in docker-compose files for both standalone and
swarm deployments.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>