-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
5
-
False
-
-
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