fix: don't enable SMTP by default

See #8
This commit is contained in:
decentral1se 2025-04-22 23:48:12 +02:00
parent 96c7c18029
commit 01fdacae52
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
5 changed files with 8 additions and 2 deletions

View File

@ -25,6 +25,7 @@ TX="Europe/Berlin"
## SMTP settings
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
#SECRET_SMTP_PASSWORD_VERSION=v1
#SMTP_ENABLED=1
#SMTP_FROM=noreply@example.com
#SMTP_USERNAME=noreply@example.com
#SMTP_HOST=mail.example.com

View File

@ -1,4 +1,5 @@
export APP_ENTRYPOINT_VERSION=v3
export APP_ENTRYPOINT_VERSION=v4
APP_DIR="app:/data"
insert_vaultwarden_admin_token() {

View File

@ -42,7 +42,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=1.1.0+1.33.2"
- "coop-cloud.${STACK_NAME}.version=1.2.0+1.33.2"
- "backupbot.backup=true"
- "backupbot.backup.path=/data"

View File

@ -46,7 +46,10 @@ if [ -n "${MYSQL_HOST}" ]; then
fi
file_env "ADMIN_TOKEN"
{{ if eq (env "SMTP_ENABLED") "1" }}
file_env "SMTP_PASSWORD"
{{ end }}
# upstream startup command
# https://github.com/dani-garcia/vaultwarden/blob/60ed5ff99d15dec0b82c85987f9a3e244b8bde91/docker/Dockerfile.j2#L254

1
release/1.2.0+1.33.2 Normal file
View File

@ -0,0 +1 @@
Please add `SMTP_ENABLED=1` to your .env if you're using SMTP.