File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ docker pull daido1976/aws-lambda-function-url-emulator:latest
21
21
22
22
``` bash
23
23
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 \
25
25
daido1976/aws-lambda-function-url-emulator:latest
26
26
```
27
27
@@ -35,7 +35,7 @@ For a practical example of integrating this emulator with RIE using Docker Compo
35
35
36
36
| Variable | Description | Default Value |
37
37
| -------------- | --------------------------------------------------- | ----------------------------------------------------------------- |
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 ` |
39
39
40
40
## Build the Docker Image Locally
41
41
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
5
5
ports :
6
6
- " 8080:8080"
7
7
environment :
8
- # Specify the internal port of the lambda container
8
+ # Specify the internal port of the lambda rie container
9
9
RIE_ENDPOINT : " http://example-lambda-rie:8080/2015-03-31/functions/function/invocations"
10
10
example-lambda-rie :
11
11
build :
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
15
15
)
16
16
17
17
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" )
19
19
20
20
func getEnv (key , fallback string ) string {
21
21
if value , exists := os .LookupEnv (key ); exists {
You can’t perform that action at this time.
0 commit comments