Docker compose port 5005

Other containers on the same Docker network can reach that container using the container’s name ( docker run --name, container_name: directive) as a DNS name and the port the server is running on. In Docker Compose, Compose creates a Docker network per Compose YAML file, and also makes services available under their key in the YAML file. DG Paystub