diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 3ab397629..bcc4ed564 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -36,9 +36,33 @@ services: postgres-otp: ports: - "127.0.0.1:5462:5432" + postgres-accountant: + ports: + - "5432:5432" + postgres-eventlog: + ports: + - "5433:5432" + postgres-auth: + ports: + - "5434:5432" + postgres-wallet: + ports: + - "5435:5432" + postgres-api: + ports: + - "5436:5432" postgres-market: ports: - - "127.0.0.1:5438:5432" + - "5438:5432" + postgres-bc-gateway: + ports: + - "5437:5432" + postgres-matching-gateway: + ports: + - "5439:5432" + postgres-profile: + ports: + - "5440:5432" accountant: ports: - "127.0.0.1:8089:8080" diff --git a/matching-gateway/matching-gateway-app/src/main/resources/application.yml b/matching-gateway/matching-gateway-app/src/main/resources/application.yml index 860504b23..9d7103666 100644 --- a/matching-gateway/matching-gateway-app/src/main/resources/application.yml +++ b/matching-gateway/matching-gateway-app/src/main/resources/application.yml @@ -44,6 +44,8 @@ spring: instance-id: ${spring.application.name}:${server.port} healthCheckInterval: 20s prefer-ip-address: true + config: + import: vault://secret/${spring.application.name} management: endpoints: web: diff --git a/otp/otp-app/src/main/kotlin/co/nilin/opex/otp/app/proxy/SMSIRProxy.kt b/otp/otp-app/src/main/kotlin/co/nilin/opex/otp/app/proxy/SMSIRProxy.kt index 10156b8cd..df0f0bbdd 100644 --- a/otp/otp-app/src/main/kotlin/co/nilin/opex/otp/app/proxy/SMSIRProxy.kt +++ b/otp/otp-app/src/main/kotlin/co/nilin/opex/otp/app/proxy/SMSIRProxy.kt @@ -32,8 +32,8 @@ class SMSIRProxy( .queryParam("password", config.password) .queryParam("mobile", receiver) .queryParam("line", config.sender) - .queryParam("text", "otp code : $message") - .build(true) + .queryParam("text", "Your OTP code is $message") + .build() .toUri() return try {