2 Commits

Author SHA1 Message Date
62f1b0f6cf chore: publish 0.3.0+1.26.0 release 2023-01-21 12:07:29 +01:00
e58aa8cb50 add smtp support 2023-01-21 12:05:46 +01:00
3 changed files with 29 additions and 1 deletions

View File

@ -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

19
compose.smtp.yml Normal file
View File

@ -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}

View File

@ -39,7 +39,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=0.2.0+1.26.0"
- "coop-cloud.${STACK_NAME}.version=0.3.0+1.26.0"
volumes:
vaultwarden_data: