@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 +11 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/init/generators/docker.ts +15 -3
package/dist/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ import prompts from "prompts";
|
|
|
26
26
|
|
|
27
27
|
//#region package.json
|
|
28
28
|
var name = "@geekmidas/cli";
|
|
29
|
-
var version = "0.
|
|
29
|
+
var version = "0.21.0";
|
|
30
30
|
var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
|
|
31
31
|
var private$1 = false;
|
|
32
32
|
var type = "module";
|
|
@@ -4753,9 +4753,17 @@ function generateDockerFiles(options, template, dbApps) {
|
|
|
4753
4753
|
retries: 5`);
|
|
4754
4754
|
volumes.push(" rabbitmq_data:");
|
|
4755
4755
|
}
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4756
|
+
if (options.services.mail) services.push(` mailpit:
|
|
4757
|
+
image: axllent/mailpit:latest
|
|
4758
|
+
container_name: ${options.name}-mailpit
|
|
4759
|
+
restart: unless-stopped
|
|
4760
|
+
ports:
|
|
4761
|
+
- '1025:1025'
|
|
4762
|
+
- '8025:8025'
|
|
4763
|
+
environment:
|
|
4764
|
+
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
4765
|
+
MP_SMTP_AUTH_ALLOW_INSECURE: 1`);
|
|
4766
|
+
let dockerCompose = `services:
|
|
4759
4767
|
${services.join("\n\n")}
|
|
4760
4768
|
`;
|
|
4761
4769
|
if (volumes.length > 0) dockerCompose += `
|