How to bind a static IP for a container group on ACI using Docker Compose

Viewed 35

I've a docker compose file intended to run on Azure Container Instance. Its composed of 3 containers (django, nginx, certbot). I would like to bind a static public IP to the container. I can create it at a runtime but would like to bind the public IP beforehand so I can set the DNS A record for the reverse proxy to negotiate it's SSL certificate. Is there a way to do it by using the Docker compose script or Do I have to use another way like the YML or Resource Manager.

0 Answers
Related