-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a section in README.md with the steps necessary to run in docker as asked in #33.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|