fix: don't enable SMTP by default #9
@ -25,6 +25,7 @@ TX="Europe/Berlin"
|
|||||||
## SMTP settings
|
## SMTP settings
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
||||||
#SECRET_SMTP_PASSWORD_VERSION=v1
|
#SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
|
#SMTP_ENABLED=1
|
||||||
#SMTP_FROM=noreply@example.com
|
#SMTP_FROM=noreply@example.com
|
||||||
#SMTP_USERNAME=noreply@example.com
|
#SMTP_USERNAME=noreply@example.com
|
||||||
#SMTP_HOST=mail.example.com
|
#SMTP_HOST=mail.example.com
|
||||||
|
@ -6,6 +6,7 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- smtp_password
|
- smtp_password
|
||||||
environment:
|
environment:
|
||||||
|
- "SMTP_ENABLED"
|
||||||
- "SMTP_PASSWORD_FILE=/run/secrets/smtp_password"
|
- "SMTP_PASSWORD_FILE=/run/secrets/smtp_password"
|
||||||
- "SMTP_FROM"
|
- "SMTP_FROM"
|
||||||
- "SMTP_USERNAME"
|
- "SMTP_USERNAME"
|
||||||
|
@ -42,7 +42,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "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=2.0.0+1.33.2"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/data"
|
- "backupbot.backup.path=/data"
|
||||||
|
|
||||||
|
@ -47,7 +47,10 @@ if [ -n "${MYSQL_HOST}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
file_env "ADMIN_TOKEN"
|
file_env "ADMIN_TOKEN"
|
||||||
|
|
||||||
|
{{ if eq (env "SMTP_ENABLED") "1" }}
|
||||||
file_env "SMTP_PASSWORD"
|
file_env "SMTP_PASSWORD"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
# remove world permissions on data
|
# remove world permissions on data
|
||||||
chmod -R o= /data
|
chmod -R o= /data
|
||||||
|
15
release/2.0.0+1.33.2
Normal file
15
release/2.0.0+1.33.2
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
=== SMTP SETTINGS ===
|
||||||
|
This release contains a *breaking change* if you use SMTP with vaultwarden.
|
||||||
|
|
||||||
|
See https://git.coopcloud.tech/coop-cloud/vaultwarden/pulls/9 for more.
|
||||||
|
|
||||||
|
TLDR; Please add `SMTP_ENABLED=1` to your .env to continue using SMTP.
|
||||||
|
|
||||||
|
=== PERMISSIONS ===
|
||||||
|
|
||||||
|
Previously, the data directory including the main private key had read
|
||||||
|
permissions enabled for all host users. This release fixes that. Please review
|
||||||
|
your Vaultwarden keys if other users on your Co-op Cloud host may have had
|
||||||
|
access to these files.
|
||||||
|
|
||||||
|
See https://git.coopcloud.tech/coop-cloud/vaultwarden/pulls/7 for more.
|
Loading…
x
Reference in New Issue
Block a user