From d5272f28e46a5d7a24c588faf41bed585cd44e47 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Thu, 10 Nov 2022 12:07:37 +0000 Subject: [PATCH] fix add smtp settings --- Accounts/Dockerfile.tpl | 1 + AdminDashboard/Dockerfile.tpl | 1 + Alert/.env | 2 +- Alert/Dockerfile.tpl | 1 + ApiDocs/Dockerfile.tpl | 1 + Dashboard/Dockerfile.tpl | 1 + DashboardAPI/Dockerfile.tpl | 1 + File/Dockerfile.tpl | 1 + HelmChart/Dockerfile.tpl | 1 + Home/Dockerfile.tpl | 1 + HttpTestServer/Dockerfile.tpl | 1 + Identity/Dockerfile.tpl | 1 + Integration/Dockerfile.tpl | 1 + Licensing/Dockerfile.tpl | 1 + Mail/.env.tpl | 8 +++++++- Mail/Dockerfile.tpl | 1 + Probe/Dockerfile.tpl | 1 + ProbeAPI/Dockerfile.tpl | 1 + Realtime/Dockerfile.tpl | 1 + StatusPage/Dockerfile.tpl | 1 + Workers/Dockerfile.tpl | 1 + config.tpl.env | 8 ++++++++ 22 files changed, 35 insertions(+), 2 deletions(-) diff --git a/Accounts/Dockerfile.tpl b/Accounts/Dockerfile.tpl index c525de9900..e44ac25713 100755 --- a/Accounts/Dockerfile.tpl +++ b/Accounts/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/AdminDashboard/Dockerfile.tpl b/AdminDashboard/Dockerfile.tpl index d5354b2019..104e60c286 100755 --- a/AdminDashboard/Dockerfile.tpl +++ b/AdminDashboard/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Alert/.env b/Alert/.env index 71fa2d5d32..59b4c3f258 100644 --- a/Alert/.env +++ b/Alert/.env @@ -1 +1 @@ -ONEUPTIME_SECRET=e73a8e620ca067f53a00282e \ No newline at end of file +ONEUPTIME_SECRET=ae60cf8f0cec2df8d05aaf0b \ No newline at end of file diff --git a/Alert/Dockerfile.tpl b/Alert/Dockerfile.tpl index 1772772766..feac2b7125 100644 --- a/Alert/Dockerfile.tpl +++ b/Alert/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++ SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/ApiDocs/Dockerfile.tpl b/ApiDocs/Dockerfile.tpl index d0111ba670..43294746b2 100755 --- a/ApiDocs/Dockerfile.tpl +++ b/ApiDocs/Dockerfile.tpl @@ -8,6 +8,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Dashboard/Dockerfile.tpl b/Dashboard/Dockerfile.tpl index 8f8c1be22f..fae1c75e1a 100755 --- a/Dashboard/Dockerfile.tpl +++ b/Dashboard/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/DashboardAPI/Dockerfile.tpl b/DashboardAPI/Dockerfile.tpl index 82f34ac5dc..f36f61eb2b 100755 --- a/DashboardAPI/Dockerfile.tpl +++ b/DashboardAPI/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++ SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/File/Dockerfile.tpl b/File/Dockerfile.tpl index 1b6edfeeea..93f1e9a981 100644 --- a/File/Dockerfile.tpl +++ b/File/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++ SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/HelmChart/Dockerfile.tpl b/HelmChart/Dockerfile.tpl index f1a089fbab..1860a57722 100755 --- a/HelmChart/Dockerfile.tpl +++ b/HelmChart/Dockerfile.tpl @@ -8,6 +8,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Home/Dockerfile.tpl b/Home/Dockerfile.tpl index 24b8d8a149..87474bb88e 100755 --- a/Home/Dockerfile.tpl +++ b/Home/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/HttpTestServer/Dockerfile.tpl b/HttpTestServer/Dockerfile.tpl index c9b930f1c9..e29bc34453 100755 --- a/HttpTestServer/Dockerfile.tpl +++ b/HttpTestServer/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Identity/Dockerfile.tpl b/Identity/Dockerfile.tpl index 47416b38a9..f2498edde5 100644 --- a/Identity/Dockerfile.tpl +++ b/Identity/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++ SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Integration/Dockerfile.tpl b/Integration/Dockerfile.tpl index 1cc56d9c21..125a19b603 100644 --- a/Integration/Dockerfile.tpl +++ b/Integration/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++ SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Licensing/Dockerfile.tpl b/Licensing/Dockerfile.tpl index a7e8b1af73..8a5b24f66d 100644 --- a/Licensing/Dockerfile.tpl +++ b/Licensing/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Mail/.env.tpl b/Mail/.env.tpl index b6912ae83b..1bcbab2a2e 100644 --- a/Mail/.env.tpl +++ b/Mail/.env.tpl @@ -1 +1,7 @@ -PORT={{ .Env.MAIL_PORT }} \ No newline at end of file +PORT={{ .Env.MAIL_PORT }} +SMTP_USERNAME={{ .Env.SMTP_USERNAME }} +SMTP_PASSWORD={{ .Env.SMTP_PASSWORD }} +SMTP_PORT={{ .Env.SMTP_PORT }} +SMTP_EMAIL={{ .Env.SMTP_EMAIL }} +SMTP_FROM_NAME={{ .Env.SMTP_FROM_NAME }} +SMTP_IS_SECURE={{ .Env.SMTP_IS_SECURE }} diff --git a/Mail/Dockerfile.tpl b/Mail/Dockerfile.tpl index ee2f0dbd5e..01fcf5425b 100755 --- a/Mail/Dockerfile.tpl +++ b/Mail/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Probe/Dockerfile.tpl b/Probe/Dockerfile.tpl index 387994ccd3..7ca6aee721 100755 --- a/Probe/Dockerfile.tpl +++ b/Probe/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g #SET ENV Variables ENV PRODUCTION=true diff --git a/ProbeAPI/Dockerfile.tpl b/ProbeAPI/Dockerfile.tpl index cf4c0a1f82..744fae6f31 100755 --- a/ProbeAPI/Dockerfile.tpl +++ b/ProbeAPI/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Realtime/Dockerfile.tpl b/Realtime/Dockerfile.tpl index 113f7d6b9f..4636c90e16 100755 --- a/Realtime/Dockerfile.tpl +++ b/Realtime/Dockerfile.tpl @@ -15,6 +15,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/StatusPage/Dockerfile.tpl b/StatusPage/Dockerfile.tpl index 2a7cbb57c8..0bcec43bea 100755 --- a/StatusPage/Dockerfile.tpl +++ b/StatusPage/Dockerfile.tpl @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/Workers/Dockerfile.tpl b/Workers/Dockerfile.tpl index b56361b7a5..20ea51cb02 100755 --- a/Workers/Dockerfile.tpl +++ b/Workers/Dockerfile.tpl @@ -16,6 +16,7 @@ RUN apk update && apk add --no-cache --virtual .gyp python3 make g++ SHELL ["/bin/bash", "-c"] RUN npm install typescript -g RUN npm install ts-node -g +RUN npm install nodemon -g RUN mkdir /usr/src diff --git a/config.tpl.env b/config.tpl.env index 349b0b3bf2..37a8e70aa9 100644 --- a/config.tpl.env +++ b/config.tpl.env @@ -73,4 +73,12 @@ AIRTABLE_API_KEY= AIRTABLE_BASE_ID= TOKEN_SECRET={{ .Env.ENCRYPTION_SECRET }} +# SMTP SETTINGS +SMTP_USERNAME= +SMTP_PASSWORD= +SMTP_PORT= +SMTP_EMAIL= +SMTP_FROM_NAME= +SMTP_IS_SECURE= + # Ingress Certificate \ No newline at end of file