You've already forked docker-smtp
Improve appearance on Docker Hub description
This commit is contained in:
@@ -26,14 +26,16 @@ to send outgoing email. The SMTP container sends email out directly.
|
|||||||
|
|
||||||
```
|
```
|
||||||
docker run --restart always --name mail -d bytemark/smtp
|
docker run --restart always --name mail -d bytemark/smtp
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Via Docker Compose:
|
#### Via Docker Compose:
|
||||||
|
|
||||||
```
|
```
|
||||||
mail:
|
mail:
|
||||||
image: bytemark/smtp
|
image: bytemark/smtp
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### SMTP smart host
|
### SMTP smart host
|
||||||
@@ -48,9 +50,10 @@ docker run --restart always --name mail -d bytemark/smtp \
|
|||||||
-e RELAY_PORT=587 \
|
-e RELAY_PORT=587 \
|
||||||
-e RELAY_USERNAME=alice@example.com \
|
-e RELAY_USERNAME=alice@example.com \
|
||||||
-e RELAY_PASSWORD=secretpassword
|
-e RELAY_PASSWORD=secretpassword
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Via Docker Compose:
|
#### Via Docker Compose:
|
||||||
|
|
||||||
```
|
```
|
||||||
mail:
|
mail:
|
||||||
@@ -61,6 +64,7 @@ Via Docker Compose:
|
|||||||
RELAY_PORT: 587
|
RELAY_PORT: 587
|
||||||
RELAY_USERNAME: alice@example.com
|
RELAY_USERNAME: alice@example.com
|
||||||
RELAY_PASSWORD: secretpassword
|
RELAY_PASSWORD: secretpassword
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Environment variables
|
### Environment variables
|
||||||
|
|||||||
Reference in New Issue
Block a user