fix: use PodmanClient::lan_address_for as static fallback for port mapping

Dynamic port extraction from container bindings, falling back to the
static PodmanClient address map for apps without port bindings (e.g.
host-network containers).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-18 16:32:39 +00:00
co-authored by Claude Opus 4.6
parent d05ed33528
commit ccffaa3562
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ impl PodmanClient {
}
}
/// Map container name to its UI launch URL
fn lan_address_for(name: &str) -> Option<String> {
/// Map container name to its UI launch URL (static fallback for docker_packages scanner)
pub fn lan_address_for(name: &str) -> Option<String> {
let url = match name {
"bitcoin-knots" | "bitcoin-ui" => "http://localhost:8334",
"lnd" | "archy-lnd-ui" => "http://localhost:8081",