Skip to content

Commit 4fbabe5

Browse files
authored
Update README.md for cloudwatch-metrics-aws
1 parent 494d62e commit 4fbabe5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cloudwatch-metrics-aws/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ For example, when using smtp4dev, simply run:
2222

2323
docker run --rm -it -p 3000:80 -p 2525:25 rnwood/smtp4dev
2424

25-
and set `SMTP_HOST=localhost:2525`.
2625
Navigating to `http://localhost:3000` will open a UI to access the email notifications.
2726

27+
Set the environment variable `SMTP_HOST=<host-name>:2525` to start LocalStack, where `host-name` is the name or IP of the host where the SMTP server can be reached.
28+
29+
If you start LocalStack in docker mode, it should be possible to use `host.docker.internal`. For most operating systems this should resolve the address correctly, e.g.: `SMTP_HOST=host.docker.internal:2525`.
30+
31+
2832
Alternatively, you can use your real smtp server. Please refer to your provider to set the proper values for `SMTP_HOST`, `SMTP_USER` and `SMTP_PASS`

0 commit comments

Comments
 (0)