DEV Community

Discussion on: help with docker compose

Collapse
 
roelofjanelsinga profile image
Roelof Jan Elsinga • Edited

Like Carlos mentioned, you should just be able to reference it like this:

http://ipfs:5001

Docker compose automatically creates a network for you, in which you can reference other containers by using their name. These names are saved in /etc/hosts inside of the containers, so they automatically resolve to the correct IP address.