services:
  router:
    container_name: router-internal
    ports:
      - "8081:8080"
    environment:
      - APOLLO_GRAPH_REF=graphql-theorchard@qa-internal
      - CONFIG_FILE=config-qa-internal.yaml

  # Point the auth tests at the local internal router (start it first with
  # `make up_internal`):
  #   make test_integration_local_internal
  integration-test:
    environment:
      # Optional: supply expired tokens directly.
      - EXPIRED_JWT
      - LOCAL_ROUTER_URL=http://router-internal:8080/graphql
      - LOCAL_ROUTER_MODE=block
