File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,25 +72,11 @@ services:
7272 aliases :
7373 - constructive-server
7474
75- # Local SMTP catch-all with web UI (http://localhost:8025)
76- mailpit :
77- container_name : mailpit
78- image : axllent/mailpit:latest
79- ports :
80- - " 1025:1025" # SMTP
81- - " 8025:8025" # Web UI
82- networks :
83- constructive-net :
84- aliases :
85- - mailpit
86-
8775 # Send email link function (invite, password reset, verification)
8876 send-email-link :
8977 container_name : send-email-link
9078 image : constructive:dev
9179 entrypoint : ["node", "functions/send-email-link/dist/index.js"]
92- depends_on :
93- - mailpit
9480 environment :
9581 NODE_ENV : development
9682 LOG_LEVEL : info
@@ -108,15 +94,11 @@ services:
10894 MAILGUN_DOMAIN : " mg.constructive.io"
10995 MAILGUN_FROM : " no-reply@mg.constructive.io"
11096 MAILGUN_REPLY : " info@mg.constructive.io"
111- # SMTP configuration (simple-smtp-server / nodemailer)
112- EMAIL_SEND_USE_SMTP : " true"
113- SMTP_HOST : " mailpit"
114- SMTP_PORT : " 1025"
115- SMTP_SECURE : " false"
116- SMTP_FROM : " no-reply@constructive.local"
117- SMTP_TLS_REJECT_UNAUTHORIZED : " false"
118- # Disable dry run so emails are actually sent to Mailpit
119- SEND_EMAIL_LINK_DRY_RUN : " false"
97+ # Local dashboard port for generated links, used only for
98+ # localhost-style hosts in DRY RUN mode:
99+ # http://localhost:LOCAL_APP_PORT/...
100+ LOCAL_APP_PORT : " 3000"
101+ SEND_EMAIL_LINK_DRY_RUN : " ${SEND_EMAIL_LINK_DRY_RUN:-true}"
120102 ports :
121103 - " 8082:8080"
122104 networks :
You can’t perform that action at this time.
0 commit comments