Add example for docker use
This commit is contained in:
parent
0f1392fe4c
commit
b9f98da730
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -22,6 +22,8 @@ Make sure you have Docker installed, then type:
|
|||
|
||||
## Usage
|
||||
|
||||
## Normal use
|
||||
|
||||
Prepare your environment with the following variables
|
||||
|
||||
```
|
||||
|
@ -44,6 +46,17 @@ Then run the program:
|
|||
|
||||
$GOPATH/bin/trello2mail
|
||||
|
||||
### With docker
|
||||
|
||||
docker run \
|
||||
-e EMAIL_FROM=
|
||||
-e EMAIL_TO=
|
||||
-e EMAIL_SUBJECT=
|
||||
-e EMAIL_FROM=
|
||||
-e EMAIL_TO=
|
||||
-e EMAIL_SUBJECT=
|
||||
-v /var/lib/trello2mail/trello2mail.cron:/app/trello2mail.cron \
|
||||
-it trello2mail:latest
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
Loading…
Reference in a new issue