version: "2"
name: compose-test-with-version

volumes:
  data:
    driver: local

networks:
  front: {}

services:
  web:
    build: ./Dockerfile
    networks:
      - front
      - default
    volumes_from:
      - other

  other:
    image: busybox:1.31.0-uclibc
    command: top
    volumes:
      - /data
