SMTP config, initial README

This commit is contained in:
3wc
2021-07-25 14:45:30 +02:00
parent e3c7b09c22
commit d7c8c474dc
3 changed files with 59 additions and 15 deletions

20
compose.smtpauth.yml Normal file
View File

@ -0,0 +1,20 @@
---
version: "3.8"
services:
app:
environment:
- DISCOURSE_SMTP_PASSWORD_FILE=/var/run/secrets/smtp_password
secrets:
- smtp_password
sidekiq:
environment:
- DISCOURSE_SMTP_PASSWORD_FILE=/var/run/secrets/smtp_password
secrets:
- smtp_password
secrets:
smtp_password:
external: true
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}