Browse Source

Add port binding in the mailcatcher documentation (#158)

master
Anny Chagas 2 years ago
committed by GitHub
parent
commit
a83cacc771
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mailcatcher/README.md

2
mailcatcher/README.md

@ -5,7 +5,7 @@ Extra small mailcatcher image (261.9 MB)
## Usage ## Usage
```sh ```sh
$ docker run -d -p 1080:1080 --name mailcatcher schickling/mailcatcher
$ docker run -d -p 1080:1080 -p 1025:1025 --name mailcatcher schickling/mailcatcher
``` ```
Link the container to another container and use the mailcatcher SMTP port `1025` via a ENV variable like `$MAILCATCHER_PORT_1025_TCP_ADDR`. Link the container to another container and use the mailcatcher SMTP port `1025` via a ENV variable like `$MAILCATCHER_PORT_1025_TCP_ADDR`.

Loading…
Cancel
Save