From 0983cc98fee38947baa94f84deaf19f02a45f24e Mon Sep 17 00:00:00 2001 From: Wayan Jimmy Date: Sat, 4 Mar 2017 02:07:29 +0800 Subject: [PATCH] Setup mailhog --- docker-compose.yml | 6 ++++++ mailhog/Dockerfile | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 mailhog/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 3840966..dd73145 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -299,6 +299,12 @@ services: links: - php-fpm + mailhog: + build: ./mailhog + ports: + - "1025:1025" + - "8025:8025" + ### Volumes Setup ########################################### volumes: diff --git a/mailhog/Dockerfile b/mailhog/Dockerfile new file mode 100644 index 0000000..9fd31e4 --- /dev/null +++ b/mailhog/Dockerfile @@ -0,0 +1,7 @@ +FROM mailhog/mailhog + +Maintainer Mahmoud Zalt + +CMD ["Mailhog"] + +EXPOSE 1025 8025