Added a note about exposing SMTP_PORT value
This commit is contained in:
parent
d0c793e467
commit
ce934c2f93
@ -33,7 +33,7 @@ The following env variables need to be passed to the container:
|
|||||||
* `SMTP_PASSWORD` Password of the SMTP user.
|
* `SMTP_PASSWORD` Password of the SMTP user.
|
||||||
* `SERVER_HOSTNAME` Server hostname for the Postfix container. Emails will appear to come from the hostname's domain.
|
* `SERVER_HOSTNAME` Server hostname for the Postfix container. Emails will appear to come from the hostname's domain.
|
||||||
|
|
||||||
To use this container from anywhere, the 25 port needs to be exposed to the docker host server:
|
To use this container from anywhere, the 25 port or the one specified by `SMTP_PORT` needs to be exposed to the docker host server:
|
||||||
|
|
||||||
docker run -d --name postfix -p "25:25" \
|
docker run -d --name postfix -p "25:25" \
|
||||||
-e SMTP_SERVER=smtp.bar.com \
|
-e SMTP_SERVER=smtp.bar.com \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user