I had trouble with 2 different docker compose files being unable to communicate with each other when testing Langfuse with a LiteLLM Proxy. To solve this I connected the 2 on the same docker network.
Create an external network with docker:
docker network create custom_network
Within the docker compose files:
- Need to configure each service to use the network:
networks: - networkBridge
- Then at the end of the docker compose refer to the network:
networks: networkBridge: name: custom_network external: true
Originally written: 21 Jan 2025