
version: "2"

volumes:
  data:
    driver: local

networks:
  front: {}

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

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