Skip to content

Commit 878107c

Browse files
committed
Bump RIE_ENDPOINT
1 parent f18b722 commit 878107c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ docker pull daido1976/aws-lambda-function-url-emulator:latest
2121

2222
```bash
2323
docker run --rm -p 8080:8080 \
24-
-e RIE_ENDPOINT=http://localhost:8080/2015-03-31/functions/function/invocations \
24+
-e RIE_ENDPOINT=http://host.docker.internal:9000/2015-03-31/functions/function/invocations \
2525
daido1976/aws-lambda-function-url-emulator:latest
2626
```
2727

@@ -35,7 +35,7 @@ For a practical example of integrating this emulator with RIE using Docker Compo
3535

3636
| Variable | Description | Default Value |
3737
| -------------- | --------------------------------------------------- | ----------------------------------------------------------------- |
38-
| `RIE_ENDPOINT` | URL for the Lambda Runtime Interface Emulator (RIE) | `http://localhost:8080/2015-03-31/functions/function/invocations` |
38+
| `RIE_ENDPOINT` | URL for the Lambda Runtime Interface Emulator (RIE) | `http://localhost:9000/2015-03-31/functions/function/invocations` |
3939

4040
## Build the Docker Image Locally
4141

example/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
ports:
66
- "8080:8080"
77
environment:
8-
# Specify the internal port of the lambda container
8+
# Specify the internal port of the lambda rie container
99
RIE_ENDPOINT: "http://example-lambda-rie:8080/2015-03-31/functions/function/invocations"
1010
example-lambda-rie:
1111
build:

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
)
1616

1717
var port = getEnv("PORT", "8080")
18-
var rieEndpoint = getEnv("RIE_ENDPOINT", "http://localhost:8080/2015-03-31/functions/function/invocations")
18+
var rieEndpoint = getEnv("RIE_ENDPOINT", "http://localhost:9000/2015-03-31/functions/function/invocations")
1919

2020
func getEnv(key, fallback string) string {
2121
if value, exists := os.LookupEnv(key); exists {

0 commit comments

Comments
 (0)