gopkg.in/docker/libcompose.v0@v0.4.0/integration/assets/v2-full/docker-compose.yml (about)

     1  
     2  version: "2"
     3  
     4  volumes:
     5    data:
     6      driver: local
     7  
     8  networks:
     9    front: {}
    10  
    11  services:
    12    web:
    13      build:
    14        context: .
    15      networks:
    16        - front
    17        - default
    18      volumes_from:
    19        - other
    20  
    21    other:
    22      image: busybox:latest
    23      command: top
    24      volumes:
    25        - /data