Skip to content

Commit

Permalink
use localhost instead of host.docker.internal
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimpe committed Dec 13, 2023
1 parent 77164f8 commit b38ae96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apply-remote-migrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ vcap_services=$(echo $app_vars | jq -r '.system_env_json.VCAP_SERVICES')
vcap_application=$(echo $app_vars | jq -rc '.application_env_json.VCAP_APPLICATION')

# replace host env var
fixed_vcap_services=$(echo $vcap_services | jq -rc '."aws-rds"[0].credentials.host="host.docker.internal"')
fixed_vcap_services=$(echo $vcap_services | jq -rc '."aws-rds"[0].credentials.host="localhost"')

echo "VCAP_SERVICES='$fixed_vcap_services'" >> .env.ci
echo "VCAP_APPLICATION='$vcap_application'" >> .env.ci
Expand Down

0 comments on commit b38ae96

Please sign in to comment.