Commit 7bec206
fix(network): unify mios-ai + mios-cockpit-link onto mios.network (KISS)
Audit caught two stragglers:
* mios-ai.container -- was on the default podman bridge
* mios-cockpit-link.container -- was on the default podman bridge
Every other Quadlet was already on `mios.network` (10.89.0.0/24
bridge defined in etc/containers/systemd/mios.network). Adding
`Network=mios.network` to these two completes the unification:
* One bridge, one subnet, one gateway -- no segmentation, no
inter-network NAT hops, no DNS-resolver gymnastics.
* netavark + aardvark-dns give container-name DNS for free, so
sibling Quadlets reach each other at e.g. http://mios-ai:8080/v1
or http://mios-forge:3000 without bouncing through host loopback.
* PublishPort directives still map to the host so external clients
(browser, podman-desktop, the operator's bash shell) keep the
same access surface they had before.
Network compute overhead: one bridge interface + one veth pair per
container, exactly what we had already. Adding two more containers
to the same bridge costs nothing measurable.
mios-aichat (Distrobox) intentionally stays on host netns
(unshare_netns=false in distrobox.ini) -- different surface, by
design, so it can reach host services at localhost:* without going
through this bridge.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 8839e84 commit 7bec206
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments