21 lines
478 B
YAML
21 lines
478 B
YAML
---
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
environment:
|
|
SMTP_HOST: "${SMTP_HOST}"
|
|
SMTP_PORT: "${SMTP_PORT}"
|
|
SMTP_USERNAME: "${SMTP_USERNAME}"
|
|
SMTP_PASSWORD_FILE: /run/secrets/smtp_password
|
|
SMTP_SSL: "${SMTP_SSL}"
|
|
MAIL_FROM_NAME: "${MAIL_FROM_NAME}"
|
|
MAIL_FROM_EMAIL: "${MAIL_FROM_EMAIL}"
|
|
secrets:
|
|
- smtp_password
|
|
|
|
secrets:
|
|
smtp_password:
|
|
external: true
|
|
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|