Skip to content

Commit

Permalink
Run on host network to access RDS Port Forward
Browse files Browse the repository at this point in the history
  • Loading branch information
omad committed Sep 23, 2023
1 parent b2423a7 commit d88ba04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_rds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
sudo chown -R 1000:100 ./dea-notebooks
cd ./dea-notebooks
docker run --rm \
--add-host=host.docker.internal:host-gateway \
--env "DATACUBE_DB_URL=${DATACUBE_DB_URL/localhost/host.docker.internal}" \
--net=host \
--env DATACUBE_DB_URL \
--env AWS_SESSION_TOKEN \
--env AWS_REGION \
--env AWS_ACCESS_KEY_ID \
Expand Down

0 comments on commit d88ba04

Please sign in to comment.