services:
  app:
    image: alpine
    volumes:
      - my_vol:/my_vol

volumes:
  my_vol:
    labels:
      foo: bar
