@geekmidas/cli 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4754,9 +4754,17 @@ function generateDockerFiles(options, template, dbApps) {
4754
4754
  retries: 5`);
4755
4755
  volumes.push(" rabbitmq_data:");
4756
4756
  }
4757
- let dockerCompose = `version: '3.8'
4758
-
4759
- services:
4757
+ if (options.services.mail) services.push(` mailpit:
4758
+ image: axllent/mailpit:latest
4759
+ container_name: ${options.name}-mailpit
4760
+ restart: unless-stopped
4761
+ ports:
4762
+ - '1025:1025'
4763
+ - '8025:8025'
4764
+ environment:
4765
+ MP_SMTP_AUTH_ACCEPT_ANY: 1
4766
+ MP_SMTP_AUTH_ALLOW_INSECURE: 1`);
4767
+ let dockerCompose = `services:
4760
4768
  ${services.join("\n\n")}
4761
4769
  `;
4762
4770
  if (volumes.length > 0) dockerCompose += `