summaryrefslogtreecommitdiff
path: root/compose.yml
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-01-08 21:12:16 +0000
committerJoe Carstairs <me@joeac.net>2026-01-08 21:12:16 +0000
commit8e00726b047da3d0eda5bd0f4eca6339aadd12f0 (patch)
tree633d73a5d13778f0f5c25bdcbf29a707b3544903 /compose.yml
parente0170e82aacf68aaf5d9896df9fdbea454e4725f (diff)
remove TODO comment block
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml27
1 files changed, 25 insertions, 2 deletions
diff --git a/compose.yml b/compose.yml
index e5f008b..daf3ba7 100644
--- a/compose.yml
+++ b/compose.yml
@@ -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