version: '3.8'
name: fids-gateway

services:
  api-gw:
    extends:
      file: docker-template.yml
      service: api-gw
    ports:
      - 5000:5002
    networks:
      - auth
      - flights
      - gateway
      - subscriptions
    logging:
      options:
        tag: gateway

networks:
  auth:
    name: fids-auth_auth
    external: true
  flights:
    name: fids-flights_flights
    external: true
  subscriptions:
    name: fids-subs_subscriptions
    external: true
  gateway:
    driver: bridge