version: '3.8' services: api-gateway: container_name: fids_api_gateway image: ${API_IMAGE} ports: - 5000:5002 healthcheck: test: ["CMD", "nc", "-vz", "-w1", "localhost", "5002"] interval: 2s timeout: 2s retries: 5 start_period: 2s environment: - TEST_TARGET=${TEST_TARGET} - PORT=5000 - APP_SETTINGS=${APP_SETTINGS} networks: - auth - flights - gateway - subscriptions logging: driver: gelf options: gelf-address: "udp://localhost:12201" labels: gateway networks: auth: name: auth-domain_auth external: true flights: name: flights-domain_flights external: true subscriptions: name: subscription-domain_subscriptions external: true gateway: driver: bridge