version: '3.8'

services:
  catcher:
    container_name: fids-testing_catcher
    image: ${API_IMAGE}
    environment:
      - API_URL=${API_URL}
    # entrypoint: ["/bin/bash","-c"]
    # command:
    # - "sleep 120"
    networks:
      - auth
      - flights
      - gateway
      - subscriptions
      - catcher

networks:
  auth:
    name: fids-auth-dev_auth
    external: true
  flights:
    name: fids-flights-dev_flights
    external: true
  subscriptions:
    name: fids-subs-dev_subscriptions
    external: true
  gateway:
    name: fids-gateway-dev_gateway
    external: true
  catcher:
    driver: bridge