Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3754

Change the default SERVER_PORT for all the backend services

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • Next - API
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • True
    • subs-swatch

      By default, all our services starts listening up to the server port 8000. However, when starting the containers using our docker compose file to setup the Kafka/Database services, there is a new service "nginx" that also listens to the port 8000, causing a conflict.

      Note that having the server port to default 8000 was already challening when having to start multiple backend services at the same time.

      So, I think the best idea is to use the same server ports as defined for local IQE testing. For example:

      • for swatch-contracts, it's 8001
      • for swatch-billable-usage, it's 8002
        ...
        More in the nginx.conf file.

      This should NOT have any impact in ephemeral/stage/prod because it's using the clowder based property. Example: SERVER_PORT=${clowder.endpoints.swatch-producer-azure.port:8000}

      Acceptance criteria

      • Update the SERVER_PORT property for all the services

              rhn-engineering-wpoteat William Poteat
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: