Skip to content

Commit

Permalink
Update KETO URLs and Kavach server version
Browse files Browse the repository at this point in the history
  • Loading branch information
vsumit89 committed Dec 15, 2023
1 parent 80b975f commit 5c3b146
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,5 @@ dist/
*.sqlite

setupConfig.sh

postgres
3 changes: 2 additions & 1 deletion config.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 14 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -272,6 +272,8 @@ services:
- KAVACH_ENABLE_IMGPROXY=false
- KAVACH_DYNAMIC_EMAIL_ENABLED=true
- KAVACH_BUCKET_NAME=login.factly.in
- [email protected]
- KAVACH_SENDGRID_FROM_NAME=sumit
restart: unless-stopped
networks:
- dega
Expand All @@ -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
Expand Down Expand Up @@ -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"]
- [email protected]
- 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
Expand Down

0 comments on commit 5c3b146

Please sign in to comment.