Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion content/guides/localstack.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Now that you have learnt how to connect a non-containerized Node.js application
- SERVICES=s3
- GATEWAY_LISTEN=0.0.0.0:4566
volumes:
- ./localstack:/docker-entrypoint-initaws.d"
- ./localstack:/etc/localstack/init/ready.d

volumes:
mongodbdata:
Expand Down Expand Up @@ -308,6 +308,15 @@ Now that you have learnt how to connect a non-containerized Node.js application

The command creates an S3 bucket named `mysamplebucket`.

> [!TIP]
>
> You can automate this step by placing a shell script (for example,
> `init.sh`) under the local `./localstack` directory. Make sure the
> script is executable (`chmod +x ./localstack/init.sh`). LocalStack
> runs files mounted in `/etc/localstack/init/ready.d` once it is ready.
> See [LocalStack init hooks](https://docs.localstack.cloud/references/init-hooks/)
> for more details.

Open [http://localhost:5173](http://localhost:5173) to access the complete to-do list application and start uploading images to the Amazon S3 bucket.

> [!TIP]
Expand Down