Compose: Fügen Sie externe externe Links in docker-compose.yml hinzu

Erstellt am 16. März 2015  ·  6Kommentare  ·  Quelle: docker/compose

Schritt 1

Statuscontainer auf Host: API ist bereit

CONTAINER ID        IMAGE                                 COMMAND                CREATED             STATUS              PORTS                         NAMES         
9b463eaae4a6        cedvan/nginx-php-fpm:1.4.6-5.5.9  "/bin/sh -c 'php5-fp   7 minutes ago       Up 7 minutes        80/tcp, 443/tcp              project_api_1  

Schritt 2

docker-compose.yml auf dem Rückprojekt :

back:
    image: huttopia/nginx-php-fpm:1.4.6-5.5.9
    ...
    links:
        - project_api_1:api

Schritt 3

Ergebnis von fig up -d back :

Service "back" has a link to service "project_api_1" which does not exist.

Frage

Ist es möglich, externe Support-Links in docker-compose.yml hinzuzufügen?

kinquestion

Hilfreichster Kommentar

Alle 6 Kommentare

Oh ja !

Danke :)

Ja!

Keine externen Links mehr? Ich kann keine Dokumentation dafür finden.

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen