mercredi 2 septembre 2015

How to alias EC2 Container Service link?

I'm having an issue when creating my Dockerrun.aws.json file. I want to alias a container link, but it appears that the EB CLI tool isn't acting how it should.

E.g.

Here is my link with the alias fpm within my Dockerrun.aws.json

"links": [
    "legacy-app-php:fpm"
  ],

This is the resulting link in the docker-compose.yml file within the .elasticbeanstalk folder.

links:
 - legacyappphpfpm:legacy-app-php:fpm

Notice how it appends the alias to the generated container name.

Anyone have a work around?




Aucun commentaire:

Enregistrer un commentaire