29 lines
563 B
YAML
29 lines
563 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
secrets:
|
|
- smtp_password
|
|
environment:
|
|
- SMTP_HOST
|
|
- SMTP_PASSWORD_FILE=/run/secrets/smtp_password
|
|
- SMTP_PORT
|
|
- SMTP_USE_SSL
|
|
- SMTP_USE_TLS
|
|
- SMTP_USER
|
|
|
|
worker:
|
|
secrets:
|
|
- smtp_password
|
|
environment:
|
|
- SMTP_HOST
|
|
- SMTP_PASSWORD_FILE=/run/secrets/smtp_password
|
|
- SMTP_PORT
|
|
- SMTP_USE_SSL
|
|
- SMTP_USE_TLS
|
|
- SMTP_USER
|
|
|
|
secrets:
|
|
smtp_password:
|
|
external: true
|
|
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION} |