Skip to content

Commit

Permalink
Add Docker documentation
Browse files Browse the repository at this point in the history
Added a section in README.md with the steps necessary to run in docker as asked in #33.
  • Loading branch information
thiagobbt authored Oct 13, 2016
1 parent 3b6ae96 commit d1afa2e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ Mailhound is a simple server side script for receiving form posts and emailing t
2. `export KEY:[email protected]`
5. Reconnect to SSH and run the script `mailhound`

### Docker Install

1. Build the docker image with `docker build -t mailhound github.com/chadfawcett/mailhound`
2. Create a config file with your environment variables

```
[email protected]
SMTP=smtp://postmaster:[email protected]
```
3. Run docker with `docker run --env-file=<path to the config file> -p 8000:8000 mailhound`
## Usage
### Typical Setup
Expand Down

0 comments on commit d1afa2e

Please sign in to comment.