diff --git a/localenv/cloud-nine-wallet/dbinit.sql b/localenv/cloud-nine-wallet/dbinit.sql index ba680bd520..eff123c390 100644 --- a/localenv/cloud-nine-wallet/dbinit.sql +++ b/localenv/cloud-nine-wallet/dbinit.sql @@ -18,13 +18,13 @@ CREATE USER happy_life_bank_auth WITH PASSWORD 'happy_life_bank_auth'; CREATE DATABASE happy_life_bank_auth; ALTER DATABASE happy_life_bank_auth OWNER TO happy_life_bank_auth; -CREATE USER cloud_nine_wallet_pos WITH PASSWORD 'cloud_nine_wallet_pos'; -CREATE DATABASE cloud_nine_wallet_pos; -ALTER DATABASE cloud_nine_wallet_pos OWNER TO cloud_nine_wallet_pos; +CREATE USER cloud_nine_wallet_point_of_sale WITH PASSWORD 'cloud_nine_wallet_point_of_sale'; +CREATE DATABASE cloud_nine_wallet_point_of_sale; +ALTER DATABASE cloud_nine_wallet_point_of_sale OWNER TO cloud_nine_wallet_point_of_sale; -CREATE USER happy_life_bank_pos WITH PASSWORD 'happy_life_bank_pos'; -CREATE DATABASE happy_life_bank_pos; -ALTER DATABASE happy_life_bank_pos OWNER TO happy_life_bank_pos; +CREATE USER happy_life_bank_point_of_sale WITH PASSWORD 'happy_life_bank_point_of_sale'; +CREATE DATABASE happy_life_bank_point_of_sale; +ALTER DATABASE happy_life_bank_point_of_sale OWNER TO happy_life_bank_point_of_sale; CREATE USER happy_life_bank_card_service WITH PASSWORD 'happy_life_bank_card_service'; CREATE DATABASE happy_life_bank_card_service; diff --git a/localenv/cloud-nine-wallet/docker-compose.yml b/localenv/cloud-nine-wallet/docker-compose.yml index c77a684576..2b6a7ec64a 100644 --- a/localenv/cloud-nine-wallet/docker-compose.yml +++ b/localenv/cloud-nine-wallet/docker-compose.yml @@ -34,7 +34,7 @@ services: timeout: 3s cloud-nine-wallet-point-of-sale: hostname: cloud-nine-wallet-point-of-sale - image: rafiki-point-of-sale + image: rafiki-point-of-sale build: context: ../.. dockerfile: ./packages/point-of-sale/Dockerfile.dev diff --git a/localenv/happy-life-bank/docker-compose.yml b/localenv/happy-life-bank/docker-compose.yml index c8c3ad885d..7b39fbeefc 100644 --- a/localenv/happy-life-bank/docker-compose.yml +++ b/localenv/happy-life-bank/docker-compose.yml @@ -25,6 +25,7 @@ services: DATABASE_URL: postgresql://happy_life_bank_card_service:happy_life_bank_card_service@shared-database/happy_life_bank_card_service depends_on: - shared-database + - cloud-nine-wallet-card-service healthcheck: test: ["CMD", "wget", "--spider", "http://localhost:3007/healthz"] start_period: 60s @@ -56,7 +57,8 @@ services: PORT: 4008 DATABASE_URL: postgresql://happy_life_bank_point_of_sale:happy_life_bank_point_of_sale@shared-database/happy_life_bank_point_of_sale depends_on: - - shared-database + - shared-database + - cloud-nine-wallet-point-of-sale healthcheck: test: ["CMD", "wget", "--spider", "http://localhost:4008/healthz"] start_period: 60s