Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions localenv/cloud-nine-wallet/dbinit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion localenv/cloud-nine-wallet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion localenv/happy-life-bank/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading