1.0 KiB
1.0 KiB
Network Segmentation in Docker Compose
Applies when: modifying network topology, adding new services, debugging inter-service connectivity, or reviewing compose files.
- Two custom bridge networks:
db-net(data stores) andapp-net(application tier). dbandredis: only ondb-net-- not reachable from app-net-only services.minio: on bothdb-netandapp-net-- accessible from all services including Remotion.apiandworker: on bothdb-netandapp-net-- can reach data stores and be reached by Remotion.- Remotion service joins
cofee_backend_app-net(external network) -- can reachminioandapi/worker, but NOTdborredisdirectly. - Remotion compose references
REDIS_URL: redis://redis:6379/0in its environment -- this will NOT resolve sinceredisis only ondb-net. If Remotion needs Redis access, Redis must be added toapp-netas well. - The old default network (
cofee_backend_default) is no longer created. Any external references to it must be updated tocofee_backend_app-net.