Deploying on ACI
Since we have a container registry in place, we can now upload the Docker images we shall build through our Compose application. The container endpoint can be retrieved by checking the registry on the Azure account.
The registry endpoint should be developerguidetocomposeecr.azurecr.io/developer-guide-to-compose
.
We can now adapt our Compose file and set the name with the container images we shall push:
services: location-service: ... image: developerguidetocomposeacr.azurecr.io/developer-guide-to-compose:location-service_0.1 ... event-service: ... image: developerguidetocomposeacr.azurecr.io/developer-guide-to-compose:events-service_0.1 ... task-manager: ... image: developerguidetocomposeacr.azurecr.io/developer-guide-to-compose:task-manager_0.1
Changing the image to the full path of the Azure registry brings us closer to deployment; however...