Skip to content

Commit 8e55600

Browse files
author
Maxime Helias
committed
Add MailDev Container
1 parent 903c774 commit 8e55600

5 files changed

Lines changed: 25 additions & 4 deletions

File tree

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ env:
3333
- PHP_VERSION=70 BUILD_SERVICE=aerospike
3434
- PHP_VERSION=71 BUILD_SERVICE=aerospike
3535

36-
- PHP_VERSION=56 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog selenium jenkins proxy proxy2 balancer"
37-
- PHP_VERSION=70 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog selenium jenkins proxy proxy2 balancer"
38-
- PHP_VERSION=71 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog selenium jenkins proxy proxy2 balancer"
36+
- PHP_VERSION=56 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer"
37+
- PHP_VERSION=70 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer"
38+
- PHP_VERSION=71 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer"
3939

4040
- HUGO_VERSION=0.20.2
4141

DOCUMENTATION/content/introduction/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Beanstalkd - RabbitMQ - PHP Worker
9797
- **Queueing Management:**
9898
Beanstalkd Console - RabbitMQ Console
9999
- **Random Tools:**
100-
HAProxy - Certbot - Blackfire - Selenium - Jenkins - ElasticSearch - Kibana - Mailhog - Minio - Varnish - Swoole - Laravel Echo...
100+
HAProxy - Certbot - Blackfire - Selenium - Jenkins - ElasticSearch - Kibana - Mailhog - MailDev - Minio - Varnish - Swoole - Laravel Echo...
101101

102102
Laradock introduces the **Workspace** Image, as a development environment.
103103
It contains a rich set of helpful tools, all pre-configured to work and integrate with almost any combination of Containers and tools you may choose.

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,17 @@ services:
550550
- frontend
551551
- backend
552552

553+
### MailDev Container #######################################
554+
555+
maildev:
556+
build: ./maildev
557+
ports:
558+
- "${MAILDEV_HTTP_PORT}:80"
559+
- "${MAILDEV_SMTP_PORT}:25"
560+
networks:
561+
- frontend
562+
- backend
563+
553564
### Selenium Container ########################################
554565

555566
selenium:

env-example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ PMA_PASSWORD=secret
205205
PMA_ROOT_PASSWORD=secret
206206
PMA_PORT=8080
207207

208+
### MAILDEV ############################################################################################################
209+
210+
MAILDEV_HTTP_PORT=1080
211+
MAILDEV_SMTP_PORT=25
212+
208213
### VARNISH ############################################################################################################
209214

210215
VARNISH_CONFIG=/etc/varnish/default.vcl

maildev/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM djfarrelly/maildev
2+
3+
MAINTAINER Maxime Hélias <maximehelias16@gmail.com>
4+
5+
EXPOSE 80 25

0 commit comments

Comments
 (0)