This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: devstack ecommerce reaches coordinator on host.docker.internal
settings/base.py currently points COMMERCE_COORDINATOR_SERVICE_URL to localhost. But commerce-coordinator isn't in devstack yet. Because localhost is the local Docker network (and not the host machine) within a Docker container, ecommerce in devstack won't be able to reach commerce-coordinator. host.docker.internal is an internal Docker alias for the host machine running Docker Desktop. (localhost from within a Docker container is the container itself, not the machine running Docker Desktop.) Use host.docker.internal instead of localhost to connect to Coordinator.
- Loading branch information