mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
fix docker compose files
This commit is contained in:
parent
edc7362fcd
commit
d5aa9529fa
@ -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
|
||||||
|
@ -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" ]
|
||||||
|
@ -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,
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user