DEV Community

Discussion on: help with docker compose

Collapse
 
cmanique profile image
Carlos Manique Silva • Edited

you should create a network for the compose, name each service, and access the services by name and you don't even need to expose the ports on the host.

even without changes, in your case, if you change the url to ipfs:5001 it will work.

ps: you should really read-up on docker networking in general, because it's just by chance that it works in your 0.0.0.0 scenario anyway

Collapse
 
zarszz profile image
Ganjar Gingin Tahyudin

can we see domain name in a internal docker network ??

Collapse
 
fultonbrowne profile image
Fulton Browne

thank you sir, it works :)