[SHOT-97] fix: target container names instead of bare service hostnames#7894
[SHOT-97] fix: target container names instead of bare service hostnames#7894mimartin12 wants to merge 5 commits into
Conversation
nginx proxy_pass and the internal identity service URI used bare Docker service names, which can resolve to the wrong container when another container sharing the network answers to that name, returning 502s and misrouting auth traffic. Point them at the unique bitwarden-* container names. - NginxConfig.hbs: all proxy_pass upstreams use bitwarden-* names - EnvironmentFileBuilder.cs: pin internalIdentity and the Key Connector identityServerUri to http://bitwarden-identity:5000
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the self-hosted networking fix that replaces bare Docker service names with unique Code Review DetailsNo findings. The change is correctly scoped:
Both prior review threads are resolved. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7894 +/- ##
==========================================
- Coverage 66.05% 61.53% -4.53%
==========================================
Files 2256 2256
Lines 99391 99391
Branches 8984 8984
==========================================
- Hits 65654 61156 -4498
- Misses 31489 36083 +4594
+ Partials 2248 2152 -96 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|



🎟️ Tracking
https://bitwarden.atlassian.net/browse/SHOT-97
📔 Objective
Fixes: #5692
nginx proxy_pass and the internal identity service URI used bare Docker service names, which can resolve to the wrong container when another container sharing the network answers to that name, returning 502s and misrouting auth traffic. Point them at the unique bitwarden-* container names.
📸 Screenshots