Skip to content

Commit

Permalink
Replace mailhog with mailpit, closes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Aug 7, 2024
1 parent 53c370b commit f3f934d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ The Laravel stack consist of the following containers:
| [Valkey] | 7 | [wodby/valkey] || |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Node.js] | 20, 18 | [wodby/node] | | |
| [Varnish] | 6.0 | [wodby/varnish] | | |
| [Varnish] | 6.0 | [wodby/varnish] | | |
| [Solr] | 8 | [wodby/solr] | | |
| [Elasticsearch] | 7 | [wodby/elasticsearch] | | |
| [Kibana] | 7 | [wodby/kibana] | | |
| [OpenSMTPD] | 7 | [wodby/opensmtpd] | | |
| [Mailhog] | latest | [mailhog/mailhog] | ||
| [OpenSMTPD] | 7 | [wodby/opensmtpd] | | |
| Mailpit | latest | [axllent/mailpit] | ||
| [AthenaPDF] | 2.16.0 | [arachnysdocker/athenapdf-service] | | |
| [Rsyslog] | latest | [wodby/rsyslog] | | |
| [Webgrind] | 1 | [wodby/webgrind] | | |
| [Xhprof viewer] | latest | [wodby/xhprof] | | |
| Adminer | 4.6 | [wodby/adminer] | | |
| [Webgrind] | 1 | [wodby/webgrind] | | |
| [Xhprof viewer] | latest | [wodby/xhprof] | | |
| Adminer | 4.6 | [wodby/adminer] | | |
| phpMyAdmin | latest | [phpmyadmin/phpmyadmin] | | |
| Traefik | latest | [_/traefik] |||
Expand Down Expand Up @@ -75,7 +75,6 @@ This project is licensed under the MIT open source license.
[AthenaPDF]: https://wodby.com/docs/stacks/laravel/containers#athenapdf
[Elasticsearch]: https://wodby.com/docs/stacks/elasticsearch
[Kibana]: https://wodby.com/docs/stacks/elasticsearch
[Mailhog]: https://wodby.com/docs/stacks/laravel/containers#mailhog
[MariaDB]: https://wodby.com/docs/stacks/laravel/containers#mariadb
[Memcached]: https://wodby.com/docs/stacks/laravel/containers#memcached
[Nginx]: https://wodby.com/docs/stacks/laravel/containers#nginx
Expand All @@ -92,7 +91,7 @@ This project is licensed under the MIT open source license.

[_/traefik]: https://hub.docker.com/_/traefik
[arachnysdocker/athenapdf-service]: https://hub.docker.com/r/arachnysdocker/athenapdf-service
[mailhog/mailhog]: https://hub.docker.com/r/mailhog/mailhog
[axllent/mailpit]: https://hub.docker.com/r/axllent/mailpit
[phpmyadmin/phpmyadmin]: https://hub.docker.com/r/phpmyadmin/phpmyadmin
[wodby/adminer]: https://hub.docker.com/r/wodby/adminer
[wodby/apache]: https://github.com/wodby/apache
Expand Down
16 changes: 8 additions & 8 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ services:
APP_KEY: $APP_KEY
LARAVEL_APP_DEBUG: 'true'
PHP_MAIL_MIXED_LF_AND_CRLF: On
# Mailhog:
MSMTP_HOST: mailhog
# Mailpit:
MSMTP_HOST: mailpit
MSMTP_PORT: 1025
# # OpenSMTPD:
# MSMTP_HOST: opensmtpd
Expand Down Expand Up @@ -68,7 +68,7 @@ services:
## env_file:
## - .laravel.env
# environment:
# SSMTP_MAILHUB: mailhog:1025
# SSMTP_MAILHUB: mailpit:1025
# # SSMTP_MAILHUB: opensmtpd:25
# PHP_SENDMAIL_PATH: '"/usr/bin/dos2unix -u | /usr/sbin/ssmtp -t -f"'
# DB_HOST: $DB_HOST
Expand Down Expand Up @@ -131,12 +131,12 @@ services:
# labels:
# - "traefik.http.routers.${PROJECT_NAME}_apache.rule=Host(`${PROJECT_BASE_URL}`)"

mailhog:
image: mailhog/mailhog
container_name: "${PROJECT_NAME}_mailhog"
mailpit:
image: axllent/mailpit
container_name: "${PROJECT_NAME}_mailpit"
labels:
- "traefik.http.services.${PROJECT_NAME}_mailhog.loadbalancer.server.port=8025"
- "traefik.http.routers.${PROJECT_NAME}_mailhog.rule=Host(`mailhog.${PROJECT_BASE_URL}`)"
- "traefik.http.services.${PROJECT_NAME}_mailpit.loadbalancer.server.port=8025"
- "traefik.http.routers.${PROJECT_NAME}_mailpit.rule=Host(`mailpit.${PROJECT_BASE_URL}`)"

# crond:
# image: wodby/laravel-php:$PHP_TAG
Expand Down

0 comments on commit f3f934d

Please sign in to comment.