Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mailhog service not generated in docker-compose.yml #339

Open
andreidragutu opened this issue Jan 20, 2022 · 0 comments
Open

mailhog service not generated in docker-compose.yml #339

andreidragutu opened this issue Jan 20, 2022 · 0 comments

Comments

@andreidragutu
Copy link

Preconditions

  1. Docker Desktop 4.3.2, Engine 20.10.11, Compose 1.29.2 on macOS Monterey Apple Silicon (M1) - but not limited to this environment
  2. Magento Commerce 2.4.3-p1, php 7.4, MariaDB 10.4

Steps to reproduce

  1. Run: $ ./vendor/bin/ece-docker build:compose --mode="developer" --sync-engine="mutagen" --with-cron --mailhog-smtp-port=1025 --mailhog-http-port=8025 OR simply run: $ ./vendor/bin/ece-docker build:compose --mailhog-smtp-port=1025 --mailhog-http-port=8025
  2. Success message: Configuration was built.
  3. mailhog service is missing in docker-compose.yml but the header of docker-compose.yml is:
# ./vendor/bin/ece-docker 'build:compose' --mode=developer --sync-engine=mutagen --with-cron --mailhog-smtp-port=1025 --mailhog-http-port=8025
version: '2.1'

Expected result

services:
  mailhog:
    hostname: mailhog.magento2.docker
    image: 'mailhog/mailhog:latest'
    ports:
      - '1025:1025'
      - '8025:8025'
    networks:
      magento:
        aliases:
          - mailhog.magento2.docker

Actual result

mailhog service is missing from docker-compose.yml. We have to manually add it in docker-compose.override.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant