Skip to content

Commit

Permalink
[NOREF] Remove host.docker.internal (#2699)
Browse files Browse the repository at this point in the history
remove host.docker.internal
  • Loading branch information
mynar7 committed Jul 16, 2024
1 parent 8532c57 commit 1e0c446
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export MINIO_ACCESS_KEY='minioadmin'
export MINIO_SECRET_KEY='minioadmin'

# If not on Windows+WSL, run `scripts/dev hosts:check` to ensure this will resolve!
export MINIO_ADDRESS="http://host.docker.internal:9004"
export MINIO_ADDRESS="http://minio:9004"

# For connecting to a local postgres instance
export PGHOST=localhost
Expand Down
4 changes: 2 additions & 2 deletions docs/cedar.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ export CEDAR_CORE_API_VERSION=2.0.0
Additionally, if you're using the `openconnect-tinyproxy` VPN container for selective proxying, add the following to your `.envrc.local` file to instruct Go to use the proxy:

```
export HTTP_PROXY=http://host.docker.internal:8888
export HTTPS_PROXY=http://host.docker.internal:8888
export HTTP_PROXY=http://localhost:8888
export HTTPS_PROXY=http://localhost:8888
```
6 changes: 3 additions & 3 deletions src/data/mock/systemIntake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const documents: SystemIntakeDocument[] = [
status: SystemIntakeDocumentStatus.AVAILABLE,
uploadedAt: '2023-06-14T18:24:46.310929Z',
url:
'http://host.docker.internal:9004/easi-app-file-uploads/ead3f487-8aaa-47d2-aa26-335e9b560a92.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230614%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230614T184943Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=f71d5d63d68958a2bd8526c2b2cdd5abe78b21eb69d10739fe8f8e6fd5d010ec',
'http://localhost:9004/easi-app-file-uploads/ead3f487-8aaa-47d2-aa26-335e9b560a92.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230614%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230614T184943Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=f71d5d63d68958a2bd8526c2b2cdd5abe78b21eb69d10739fe8f8e6fd5d010ec',
__typename: 'SystemIntakeDocument'
},
{
Expand All @@ -135,7 +135,7 @@ export const documents: SystemIntakeDocument[] = [
status: SystemIntakeDocumentStatus.PENDING,
uploadedAt: '2023-06-14T18:24:46.32661Z',
url:
'http://host.docker.internal:9004/easi-app-file-uploads/7e047111-6228-4943-9c4b-0961f27858f4.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230614%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230614T184943Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=0e3f337697c616b01533accd95a316cbeabeb6990961b9881911c757837cbf95',
'http://localhost:9004/easi-app-file-uploads/7e047111-6228-4943-9c4b-0961f27858f4.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230614%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230614T184943Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=0e3f337697c616b01533accd95a316cbeabeb6990961b9881911c757837cbf95',
__typename: 'SystemIntakeDocument'
},
{
Expand All @@ -149,7 +149,7 @@ export const documents: SystemIntakeDocument[] = [
status: SystemIntakeDocumentStatus.UNAVAILABLE,
uploadedAt: '2023-06-14T18:24:46.342866Z',
url:
'http://host.docker.internal:9004/easi-app-file-uploads/f779e8e4-9c78-4b14-bbab-37618447f3f9.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230614%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230614T184943Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=7e6755645a1f163d41d2fa7c19776d0ceb4cfd3ff8e1c2918c428a551fe44764',
'http://localhost:9004/easi-app-file-uploads/f779e8e4-9c78-4b14-bbab-37618447f3f9.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230614%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230614T184943Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=7e6755645a1f163d41d2fa7c19776d0ceb4cfd3ff8e1c2918c428a551fe44764',
__typename: 'SystemIntakeDocument'
}
];
Expand Down

0 comments on commit 1e0c446

Please sign in to comment.