Skip to content

Commit

Permalink
avniproject/avni-webapp#1337 | Use proper tunnel db port for remote_db
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Dec 4, 2024
1 parent ca8bd64 commit 778c7ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefiles/staging.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ start_server_staging: build_server
OPENCHS_IAM_USER_ACCESS_KEY=$(OPENCHS_STAGING_IAM_USER_ACCESS_KEY) \
OPENCHS_IAM_USER_SECRET_ACCESS_KEY=$(OPENCHS_STAGING_IAM_USER_SECRET_ACCESS_KEY) \
OPENCHS_BUCKET_NAME=staging-user-media \
OPENCHS_DATABASE_URL=jdbc:postgresql://localhost:6015/openchs?currentSchema=public \
OPENCHS_DATABASE_URL=jdbc:postgresql://localhost:5433/openchs?currentSchema=public \
java -jar avni-server-api/build/libs/avni-server-0.0.1-SNAPSHOT.jar

debug_server_staging: build_server
-mkdir -p /tmp/openchs && sudo ln -s /tmp/openchs /var/log/openchs
OPENCHS_DATABASE_URL=jdbc:postgresql://localhost:6015/openchs?currentSchema=public \
OPENCHS_DATABASE_URL=jdbc:postgresql://localhost:5433/openchs?currentSchema=public \
AVNI_IDP_TYPE=cognito \
OPENCHS_CLIENT_ID=$(OPENCHS_STAGING_APP_CLIENT_ID) \
OPENCHS_USER_POOL=$(OPENCHS_STAGING_USER_POOL_ID) \
Expand Down

0 comments on commit 778c7ce

Please sign in to comment.