[WIP] Utilise mailcatcher pour l'envois de mail

This commit is contained in:
2016-09-28 11:26:52 +02:00
parent 200cd26a06
commit 8a22bc22e0
5 changed files with 38 additions and 18 deletions

View File

@@ -21,6 +21,7 @@ php:
- ./config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
links:
- mariadb
- mailcatcher
nginx:
image: nginx:latest
@@ -36,12 +37,12 @@ nginx:
links:
- php
# smtp:
# build: ./smtp
# volumes:
# - ./config/smtpd.conf:/etc/smtpd.conf
# - ./config/mailname:/etc/mailname
# expose:
# - 25
mailcatcher:
build: ./mailcatcher
volumes:
- ./config/smtpd.conf:/etc/smtpd.conf
- ./config/mailname:/etc/mailname
expose:
- 25
ports:
- 1080:1080