fix docker compose files

This commit is contained in:
Simon Larsen 2023-07-22 17:57:10 +01:00
parent edc7362fcd
commit d5aa9529fa
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
4 changed files with 6 additions and 3 deletions

View File

@ -73,6 +73,7 @@ EXPOSE 3003
{{ if eq .Env.ENVIRONMENT "development" }} {{ if eq .Env.ENVIRONMENT "development" }}
RUN mkdir /usr/src/app/dev-env
RUN touch /usr/src/app/dev-env/.env RUN touch /usr/src/app/dev-env/.env
RUN printenv > /usr/src/app/dev-env/.env RUN printenv > /usr/src/app/dev-env/.env
#Run the app #Run the app

View File

@ -70,6 +70,7 @@ EXPOSE 3009
{{ if eq .Env.ENVIRONMENT "development" }} {{ if eq .Env.ENVIRONMENT "development" }}
#Run the app #Run the app
RUN mkdir /usr/src/app/dev-env
RUN touch /usr/src/app/dev-env/.env RUN touch /usr/src/app/dev-env/.env
RUN printenv > /usr/src/app/dev-env/.env RUN printenv > /usr/src/app/dev-env/.env
CMD [ "npm", "run", "dev" ] CMD [ "npm", "run", "dev" ]

View File

@ -125,7 +125,7 @@ export default class MailService {
await UserOnCallLogTimelineService.updateOneById({ await UserOnCallLogTimelineService.updateOneById({
data: { data: {
status: UserNotificationStatus.Sent, status: UserNotificationStatus.Sent,
statusMessage: 'Email sent successfully', statusMessage: 'Email sent successfully. This does not mean the email was delivered. We do not track email delivery. If the email was not delivered - it is likely due to the email address being invalid, user has blocked sending domain, or it could have landed in spam.',
}, },
id: timelineId, id: timelineId,
props: { props: {
@ -265,7 +265,7 @@ export default class MailService {
if (emailLog) { if (emailLog) {
emailLog.status = MailStatus.Success; emailLog.status = MailStatus.Success;
emailLog.statusMessage = 'Email sent successfully'; emailLog.statusMessage = 'Email sent successfully. This does not mean the email was delivered. We do not track email delivery. If the email was not delivered - it is likely due to the email address being invalid, user has blocked sending domain, or it could have landed in spam.';
await EmailLogService.create({ await EmailLogService.create({
data: emailLog, data: emailLog,
@ -301,7 +301,7 @@ export default class MailService {
if (emailLog) { if (emailLog) {
emailLog.status = MailStatus.Success; emailLog.status = MailStatus.Success;
emailLog.statusMessage = 'Email sent successfully'; emailLog.statusMessage = 'Email sent successfully. This does not mean the email was delivered. We do not track email delivery. If the email was not delivered - it is likely due to the email address being invalid, user has blocked sending domain, or it could have landed in spam.';
await EmailLogService.create({ await EmailLogService.create({
data: emailLog, data: emailLog,

View File

@ -71,6 +71,7 @@ EXPOSE 3105
EXPOSE 3106 EXPOSE 3106
{{ if eq .Env.ENVIRONMENT "development" }} {{ if eq .Env.ENVIRONMENT "development" }}
RUN mkdir /usr/src/app/dev-env
RUN touch /usr/src/app/dev-env/.env RUN touch /usr/src/app/dev-env/.env
RUN printenv > /usr/src/app/dev-env/.env RUN printenv > /usr/src/app/dev-env/.env
#Run the app #Run the app