Skip to content

Connecting TAPI and CAPI

Should be as simple as docker network create trader-shared, because the network is already configured in docker-compose.yaml.

To ensure that the changes are applied, do make ri in both projects dirs.

Connecting Local CAPI to Local TAPI

Connect to the service using address trader-nginx:8080.

To debug the connection use docker network inspect trader-shared.

Connecting Local TAPI to Local CAPI

Inversely, to connect from TAPI to CAPI, change

capi.uri.ch0 = "http://commerce-kong:8080/ch0/"
capi.uri.ch2 = "http://commerce-kong:8080/capi/"
capi.uri.ch3 = "http://commerce-kong:8080/capi-public/"
in Trader .ini files.

To debug the connection use docker network inspect trader-shared.