Skip to content

Commit caa2754

Browse files
authored
docs: fix LocalStack port, Compose configs key, and a doubled link slash (#25309)
Three small fixes in the guides. - `guides/localstack`: the prose says `S3_ENDPOINT_URL` is `http://localhost:4556`, but LocalStack's edge port is `4566`, and the guide's own `.env` block later uses `4566`. - `guides/pgadmin`: the top-level Compose key for the pgpass file is `configs`, not `config`. As written the compose file is invalid. - `guides/bun/deploy`: the "Turn on Kubernetes" link has a doubled slash (`/manuals//desktop/...`). Signed-off-by: Emmanuel Yusufu Kimaswa <kimaswaemma36@gmail.com>
1 parent 1d205b4 commit caa2754

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

content/guides/bun/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ aliases:
1111
## Prerequisites
1212

1313
- Complete all the previous sections of this guide, starting with [Containerize a Bun application](containerize.md).
14-
- [Turn on Kubernetes](/manuals//desktop/use-desktop/kubernetes.md#enable-kubernetes) in Docker Desktop.
14+
- [Turn on Kubernetes](/manuals/desktop/use-desktop/kubernetes.md#enable-kubernetes) in Docker Desktop.
1515

1616
## Overview
1717

content/guides/localstack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Now that you've familiarized yourself with LocalStack, it's time to see it in ac
110110

111111
Now it’s time to connect your app to LocalStack. The `index.js` file, located in the backend/ directory, serves as the main entry point for the backend application.
112112

113-
The code interacts with LocalStack’s S3 service, which is accessed via the endpoint defined by the `S3_ENDPOINT_URL` environment variable, typically set to `http://localhost:4556` for local development.
113+
The code interacts with LocalStack’s S3 service, which is accessed via the endpoint defined by the `S3_ENDPOINT_URL` environment variable, typically set to `http://localhost:4566` for local development.
114114

115115
The `S3Client` from the AWS SDK is configured to use this LocalStack endpoint, along with test credentials (`AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`) that are also sourced from environment variables. This setup lets the application to perform operations on the locally simulated S3 service as if it were interacting with the real AWS S3, making the code flexible for different environments.
116116

content/guides/pgadmin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Fortunately, there is an ability to auto-connect to the database.
129129
Add the following config to your `compose.yaml` file to define a pgpass file:
130130

131131
```yaml
132-
config:
132+
configs:
133133
pgadmin-pgpass:
134134
content: |
135135
postgres:5432:*:postgres:secret

0 commit comments

Comments
 (0)