From 5c3b1469fc267f4ee738d640c0189e6ec358bc4f Mon Sep 17 00:00:00 2001 From: vsumit89 Date: Fri, 15 Dec 2023 19:18:09 +0530 Subject: [PATCH] Update KETO URLs and Kavach server version --- .gitignore | 2 ++ config.env.example | 3 ++- docker-compose.yml | 19 ++++++++++++++----- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 634084b1..3949bdf3 100644 --- a/.gitignore +++ b/.gitignore @@ -189,3 +189,5 @@ dist/ *.sqlite setupConfig.sh + +postgres \ No newline at end of file diff --git a/config.env.example b/config.env.example index cedfc506..aeddcbf7 100644 --- a/config.env.example +++ b/config.env.example @@ -3,7 +3,8 @@ MODE=development # dependencies services KAVACH_URL=http://kavach-server:8000 IMAGEPROXY_URL=http://127.0.0.1:7001 -KETO_URL=http://keto:4466 +KETO_READ_API_URL=http://keto:4466 +KETO_WRITE_API_URL=http://keto:4467 NATS_URL=http://nats:4222 KRATOS_PUBLIC_URL=http://kratos:4433 IFRAMELY_URL=http://iframely:8061 diff --git a/docker-compose.yml b/docker-compose.yml index dc249831..b793e63a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: - "5432:5432" volumes: - ./pg-init-scripts:/docker-entrypoint-initdb.d - - ~/factly/dega/postgresql:/var/lib/postgresql/data/ + - ./volumes/postgres:/var/lib/postgresql/data/ environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres @@ -237,7 +237,7 @@ services: - kavach-migrate ports: - 5001:8000 - image: factly/kavach-server:0.28.2 + image: factly/kavach-server:0.33.2 volumes: - type: bind source: ./volumes/kavach-server/data @@ -272,6 +272,8 @@ services: - KAVACH_ENABLE_IMGPROXY=false - KAVACH_DYNAMIC_EMAIL_ENABLED=true - KAVACH_BUCKET_NAME=login.factly.in + - KAVACH_SENDGRID_FROM_EMAIL=vsumit030201@gmail.com + - KAVACH_SENDGRID_FROM_NAME=sumit restart: unless-stopped networks: - dega @@ -281,7 +283,7 @@ services: - postgres - keto - kratos - image: factly/kavach-server:0.28.2 + image: factly/kavach-server:0.33.2 volumes: - type: bind source: ./volumes/kavach-server/data @@ -316,12 +318,19 @@ services: - KAVACH_ENABLE_IMGPROXY=false - KAVACH_DYNAMIC_EMAIL_ENABLED=true - KAVACH_BUCKET_NAME=login.factly.in - entrypoint: ["/bin/sh", "-c" , "/app/kavach-server migrate && /app/kavach-server create-super-org"] + - KAVACH_SENDGRID_FROM_EMAIL=vsumit030201@gmail.com + - KAVACH_SENDGRID_FROM_NAME=sumit + entrypoint: + [ + "/bin/sh", + "-c", + "/app/kavach-server migrate && /app/kavach-server create-super-org", + ] networks: - dega kavach-web: - image: factly/kavach-web:0.28.2-dev + image: factly/kavach-web:0.33.2-dev volumes: - type: bind source: ./volumes/kavach-web/config.js