diff --git a/.docker/dev/compose.yml.example b/.docker/dev/compose.yml.example index 2fd052d54..047ac3a6a 100644 --- a/.docker/dev/compose.yml.example +++ b/.docker/dev/compose.yml.example @@ -18,11 +18,19 @@ services: ports: - 6379:6379 - mailhog: - image: mailhog/mailhog:latest + # https://mailpit.axllent.org/docs/install/docker/ + mailpit: + image: axllent/mailpit:latest ports: - 1025:1025 - 8025:8025 + environment: + MP_MAX_MESSAGES: 5000 + MP_DATABASE: /data/mailpit.db + MP_SMTP_AUTH_ACCEPT_ANY: 1 + MP_SMTP_AUTH_ALLOW_INSECURE: 1 + volumes: + - mailpit_data:/data # https://manual.manticoresearch.com/Starting_the_server/Docker manticoresearch: @@ -87,4 +95,5 @@ networks: volumes: postgres_data: manticoresearch_data: + mailpit_data: elasticsearch_data: