services:
  web:
    image: nginx
    networks:
      - test

networks:
  test:
    labels:
      - foo=${FOO:-foo}