Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mailpit compose file #987

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ Each of them is also available in multiple different versions in order to reflec
| HAProxy | Apache | PHP | MariaDB | Memcached | RabbitMQ | ElasticSearch | Bind |
| Varnish | Nginx | Python (Flask) | MySQL | MongoDB | Solr | Logstash | Blackfire |
| | | | PerconaDB | Redis | | Kibana | MailHog |
| | | | PostgreSQL | | | | Ngrok |
| | | | PostgreSQL | | | | Mailpit |
| | | | | | | | Ngrok |

<br/>

Expand Down Expand Up @@ -670,6 +671,7 @@ Additionally to the default stack, there are a variety of other services that ca
<th>Blackfire</th>
<th>ELK</th>
<th>MailHog</th>
<th>Mailpit</th>
<th>Ngrok</th>
<th>RabbitMQ</th>
<th>Solr</th>
Expand All @@ -683,6 +685,7 @@ Additionally to the default stack, there are a variety of other services that ca
<td><a target="_blank" title="Blackfire 1.8" href="https://github.com/blackfireio/docker">1.8</a></td>
<td><a target="_blank" title="ELK stack" href="https://www.docker.elastic.co">5.x.y</a></td>
<td><a target="_blank" title="MailHog v1.0.0" href="https://github.com/mailhog/MailHog">v1.0.0</a></td>
<td><a target="_blank" title="Mailpit v1.x" href="https://github.com/axllent/mailpit">v1.x</a></td>
<td><a target="_blank" title="Ngrok 2.x" href="https://github.com/devilbox/docker-ngrok">2.x</a></td>
<td><a target="_blank" title="RabbitMQ 3.6" href="https://github.com/rabbitmq/rabbitmq-server">3.6</a></td>
<td><a target="_blank" title="Solr 5" href="https://github.com/apache/lucene-solr">5</a></td>
Expand All @@ -694,6 +697,7 @@ Additionally to the default stack, there are a variety of other services that ca
<td>...</td>
<td><a target="_blank" title="ELK stack" href="https://www.docker.elastic.co">6.x.y</a></td>
<td><a target="_blank" title="MailHog latest" href="https://github.com/mailhog/MailHog">latest</a></td>
<td><a target="_blank" title="Mailpit latest" href="https://github.com/axllent/mailpit">latest</a></td>
<td></td>
<td><a target="_blank" title="RabbitMQ 3.7" href="https://github.com/rabbitmq/rabbitmq-server">3.7</a></td>
<td><a target="_blank" title="Solr 6" href="https://github.com/apache/lucene-solr">6</a></td>
Expand Down
23 changes: 23 additions & 0 deletions compose/docker-compose.override.yml-mailpit
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# vim: set ft=yaml:
---
version: '2.3'

services:

# -----------------------------------------------------------------------------------------------
# Mailpit
# -----------------------------------------------------------------------------------------------
mailpit:
image: axllent/mailpit:${MAILPIT_SERVER:-latest}
hostname: mailpit
restart: unless-stopped
ports:
- "${LOCAL_LISTEN_ADDR}${SMTP_PORT_MAILPIT:-1025}:1025"
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_MAILPIT:-8025}:8025"
networks:
app_net:
ipv4_address: 172.16.238.201
depends_on:
- bind
- php
- httpd