remove TODO comment block
This commit is contained in:
27
compose.yml
27
compose.yml
@@ -1,7 +1,30 @@
|
|||||||
services:
|
services:
|
||||||
website:
|
website:
|
||||||
build: website
|
build:
|
||||||
|
context: website
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
LOCAL_SMTP_HOST: smtp
|
||||||
|
LOCAL_SMTP_PORT: 2500
|
||||||
|
LOCAL_SMTP_PASSWORD: smtp
|
||||||
ports:
|
ports:
|
||||||
- "8000:4321"
|
- "8000:4321"
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
build: smtp
|
build:
|
||||||
|
context: smtp
|
||||||
|
args:
|
||||||
|
LOCAL_SMTP_PORT: 2500
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
LOCAL_SMTP_PORT: 2500
|
||||||
|
LOCAL_SMTP_PASSWORD: smtp
|
||||||
|
REMOTE_SMTP_PASSWORD_FILE: /run/secrets/remote_smtp_password
|
||||||
|
secrets:
|
||||||
|
- remote_smtp_password
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
remote_smtp_password:
|
||||||
|
external: true
|
||||||
|
|||||||
@@ -1,18 +1,6 @@
|
|||||||
FROM node:lts-alpine3.22 AS runtime
|
FROM node:lts-alpine3.22 AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
################### TODO ###################
|
|
||||||
# - Add another service on the same network running an SMTP server such
|
|
||||||
# as msmtpd or Postfix
|
|
||||||
# - Configure the SMTP server to send emails from me@joeac.net via Zoho
|
|
||||||
# - Configure the website to use the SMTP server to send emails
|
|
||||||
# - Test
|
|
||||||
# - Push
|
|
||||||
# - Test on RPi
|
|
||||||
# - Consider: now you're running an SMTP server anyway, can you send it
|
|
||||||
# from your very own no-reply email address?
|
|
||||||
############################################
|
|
||||||
|
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user