Adds MailHog for SMTP testing

This commit is contained in:
Vlad
2017-10-31 13:52:19 -04:00
committed by pavel-mailpoet
parent 8dfaf9ba32
commit 97a9465db3

View File

@@ -11,12 +11,19 @@ services:
- ./:/wp-core/wp-content/plugins/mailpoet - ./:/wp-core/wp-content/plugins/mailpoet
entrypoint: /docker-entrypoint.sh entrypoint: /docker-entrypoint.sh
mailhog:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025
wordpress: wordpress:
build: ./tests/wordpressDockerfile build: ./tests/wordpressDockerfile
image: wordpress:latest image: wordpress:latest
depends_on: depends_on:
- mysql - mysql
- chrome - chrome
- mailhog
volumes: volumes:
- wp-core:/var/www/html - wp-core:/var/www/html
- ./:/var/www/html/wp-content/plugins/mailpoet - ./:/var/www/html/wp-content/plugins/mailpoet
@@ -42,7 +49,7 @@ services:
- /dev/shm:/dev/shm - /dev/shm:/dev/shm
image: selenium/standalone-chrome-debug image: selenium/standalone-chrome-debug
ports: ports:
- '4444' - 4444
- '5900:5900' - 5900:5900
volumes: volumes:
wp-core: wp-core: