Commit Graph

2 Commits

Author SHA1 Message Date
8f98e54b18 fix: explicit subnet for docker-compose to avoid pool exhaustion
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>
2026-03-10 09:13:32 +01:00
a7ca88cabb fix: docker-compose networking and local translator endpoint
- 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>
2026-03-10 09:10:54 +01:00