remove TODO comment block

This commit is contained in:
2026-01-08 21:12:16 +00:00
parent e0170e82aa
commit 8e00726b04
2 changed files with 25 additions and 14 deletions

View File

@@ -1,7 +1,30 @@
services:
website:
build: website
build:
context: website
env_file:
- .env
environment:
LOCAL_SMTP_HOST: smtp
LOCAL_SMTP_PORT: 2500
LOCAL_SMTP_PASSWORD: smtp
ports:
- "8000:4321"
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

View File

@@ -1,18 +1,6 @@
FROM node:lts-alpine3.22 AS runtime
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 ./
RUN npm install