add smtp support
This commit is contained in:
parent
452e40fd30
commit
e58aa8cb50
|
@ -12,3 +12,12 @@ LOG_FILE=/data/vaultwarden.log
|
|||
LOG_LEVEL=warn
|
||||
|
||||
SECRET_ADMIN_TOKEN_VERSION=v1 # length=48
|
||||
|
||||
# SMTP settings
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
||||
#SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
#SMTP_FROM=
|
||||
#SMTP_USERNAME=
|
||||
#SMTP_HOST=
|
||||
#SMTP_PORT=587
|
||||
#SMTP_SECURITY=starttls
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- SMTP_FROM
|
||||
- SMTP_HOST
|
||||
- SMTP_PORT
|
||||
- SMTP_SECURITY
|
||||
- SMTP_USERNAME
|
||||
- SMTP_PASSWORD_FILE=/run/secrets/smtp_password
|
||||
secrets:
|
||||
- smtp_password
|
||||
|
||||
secrets:
|
||||
smtp_password:
|
||||
external: true
|
||||
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
Loading…
Reference in New Issue