Files
esh-pfi-infrastructure/stacks/ana-ml2-proxy/compose.yaml
T
vh 913d2d2a6c feat(homepage): wire ana-ml2 back into discovery via socat proxy on ana-docker
ana-ml2 is up but not reachable cross-site from ESH (return-route gap on ana-ml2,
no SSH access to fix it). New stacks/ana-ml2-proxy: a pinned alpine/socat relay on
ana-docker (host net) exposing 10.250.50.70:2354 -> ana-ml2 10.250.50.54:2375.
Homepage docker.yaml ana-ml2-docker re-enabled pointed at the proxy. Verified:
esh-docker-vm reaches ana-ml2's docker (29.3.1) through it; /api/services returns
in 0s with 111 services; ana-ml2's inference seats (gen, coder, embed, rerank,
reward, image-bench, dockge) render. Reversible: point back at 10.250.50.54:2375
and compose-down the proxy once ana-ml2 routes to ESH.
2026-09-07 16:34:13 -07:00

25 lines
1.2 KiB
YAML

---
# TCP proxy on ana-docker: exposes ana-ml2's Docker API (10.250.50.54:2375) as
# 10.250.50.70:2354 so Homepage on esh-docker-vm can discover ana-ml2's
# containers.
#
# WHY: ana-ml2 is up and its docker API is reachable from within Anaheim, but
# NOT cross-site from ESH (a return-route gap on ana-ml2 itself; there is no SSH
# path to ana-ml2 from the ops seats to fix its routing). ana-docker sits on the
# same Anaheim subnet, reaches ana-ml2:2375 directly, and IS reachable from ESH,
# so it relays. Plaintext, trusted mesh-internal only — same posture as the
# fleet's other plaintext :2375 docker hosts (docker.yaml).
#
# UNDO: once ana-ml2 has a working return route to ESH, point Homepage's
# ana-ml2-docker entry back at 10.250.50.54:2375 directly and `docker compose
# down` this stack.
services:
ana-ml2-docker-proxy:
image: alpine/socat@sha256:ef6c281978dcd6927d9b3829484e4c4fdfc5d98de5acbd6312c04565d2d58cbf
container_name: ana-ml2-docker-proxy
restart: unless-stopped
# host networking so socat binds ana-docker's :2354 and reaches ana-ml2 over
# the host's Anaheim-subnet route; no bridge/port-map hop needed.
network_mode: host
command: TCP-LISTEN:2354,fork,reuseaddr TCP:10.250.50.54:2375