Assign a fixed subnet (10.100.50.0/24) to lingvai-net so Docker
doesn't try to auto-allocate from its default address pool, which
fails with 'all predefined address pools have been fully subnetted'
on hosts running many containers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace per-service network_mode:bridge with a shared lingvai-net
so lingvai-app can reach lingvai-translator by hostname
- Set LOCAL_MODEL_ENDPOINT=http://lingvai-translator:5000/predictions
and REPLICATE_MODE=local via environment so admin panel defaults
are pre-configured for the local container
- Add depends_on: translator so the app starts after the model is up
- Host port 5030->5000 kept for direct debugging access
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>