Skip to content

Commit

Permalink
Delete trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilhcem committed Aug 30, 2015
1 parent 269b319 commit 8526027
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Usage on Docker
* Run distributed version : [Dockerfile](https://github.com/evrycollin/FakeSMTP/blob/master/Dockerfile)

docker build -t="mail" github.com/evrycollin/FakeSMTP

docker run -ti -p 250:25 --privileged=true -v /mail:/output mail


Expand All @@ -77,28 +77,28 @@ Get sources from GitHub [Dockerfile](https://github.com/evrycollin/FakeSMTP/blo
git clone https://github.com/evrycollin/FakeSMTP
cd FakeSMTP
git checkout remotes/origin/add-docker

Build the docker image

mvn package docker:build -DskipTests

Run the docker image

docker run -ti -d fakesmtp

Configure container

* Map the SMTP port 25 to host :
-p 250:25

-p 250:25

* Map volume for received mails :
--privileged=true -v /mail-data:/output

--privileged=true -v /mail-data:/output

Full command

* Foward fakesmtp:25 to host port 250,
* Foward fakesmtp:25 to host port 250,
* mount host folder /home/fakesmtp/mail as container folder /output

docker run -ti -d -p 250:25 --privileged=true -v /home/fakesmtp/mail:/output fakesmtp
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<artifactId>commons-email</artifactId>
<version>1.3.3</version>
<scope>test</scope>
</dependency>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -252,7 +252,7 @@
</reportPlugins>
</configuration>
</plugin>

<!-- tag::plugin[] -->
<plugin>
<groupId>com.spotify</groupId>
Expand All @@ -270,8 +270,8 @@
</resources>
</configuration>
</plugin>
<!-- end::plugin[] -->
<!-- end::plugin[] -->

</plugins>
</build>

Expand Down

0 comments on commit 8526027

Please sign in to comment.