mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Improved documentation
This commit is contained in:
parent
401cb62b6c
commit
a13cbcb9aa
2
Makefile
2
Makefile
|
@ -14,6 +14,7 @@ run:
|
||||||
# Run containers
|
# Run containers
|
||||||
docker run -d --name mail -v "`pwd`/postfix":/tmp/postfix -v "`pwd`/spamassassin":/tmp/spamassassin -v "`pwd`/test":/tmp/test -h mail.my-domain.com -t $(NAME):$(VERSION)
|
docker run -d --name mail -v "`pwd`/postfix":/tmp/postfix -v "`pwd`/spamassassin":/tmp/spamassassin -v "`pwd`/test":/tmp/test -h mail.my-domain.com -t $(NAME):$(VERSION)
|
||||||
docker run -d --name mail_pop3 -v "`pwd`/postfix":/tmp/postfix -v "`pwd`/spamassassin":/tmp/spamassassin -v "`pwd`/test":/tmp/test -e ENABLE_POP3=1 -h mail.my-domain.com -t $(NAME):$(VERSION)
|
docker run -d --name mail_pop3 -v "`pwd`/postfix":/tmp/postfix -v "`pwd`/spamassassin":/tmp/spamassassin -v "`pwd`/test":/tmp/test -e ENABLE_POP3=1 -h mail.my-domain.com -t $(NAME):$(VERSION)
|
||||||
|
# Wait for containers to fully start
|
||||||
sleep 60
|
sleep 60
|
||||||
|
|
||||||
fixtures:
|
fixtures:
|
||||||
|
@ -34,4 +35,5 @@ tests:
|
||||||
clean:
|
clean:
|
||||||
# Get default files back
|
# Get default files back
|
||||||
git checkout postfix/accounts.cf postfix/virtual
|
git checkout postfix/accounts.cf postfix/virtual
|
||||||
|
# Remove running test containers
|
||||||
docker rm -f mail mail_pop3
|
docker rm -f mail mail_pop3
|
|
@ -99,6 +99,11 @@ Please read [SSL.md](SSL.md) for more information.
|
||||||
Things to do or to improve are stored on [Github](https://github.com/tomav/docker-mailserver/issues), some open by myself.
|
Things to do or to improve are stored on [Github](https://github.com/tomav/docker-mailserver/issues), some open by myself.
|
||||||
Feel free to improve this docker image.
|
Feel free to improve this docker image.
|
||||||
|
|
||||||
## Wanna help?
|
## Contribute
|
||||||
|
|
||||||
Fork, improve, add tests and PR. ;-)
|
- Fork
|
||||||
|
- Improve
|
||||||
|
- Add integration tests in `test/test.sh`
|
||||||
|
- Build image and run tests using `make`
|
||||||
|
- Document your improvements
|
||||||
|
- Commit, push and make a pull-request
|
||||||
|
|
Loading…
Reference in a new issue