parent
96c7c18029
commit
84c88473d9
@ -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
|
||||
|
3
abra.sh
3
abra.sh
@ -1,4 +1,5 @@
|
||||
export APP_ENTRYPOINT_VERSION=v3
|
||||
export APP_ENTRYPOINT_VERSION=v4
|
||||
|
||||
APP_DIR="app:/data"
|
||||
|
||||
insert_vaultwarden_admin_token() {
|
||||
|
@ -6,6 +6,7 @@ services:
|
||||
secrets:
|
||||
- smtp_password
|
||||
environment:
|
||||
- "SMTP_ENABLED"
|
||||
- "SMTP_PASSWORD_FILE=/run/secrets/smtp_password"
|
||||
- "SMTP_FROM"
|
||||
- "SMTP_USERNAME"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
1
release/1.2.0+1.33.2
Normal file
@ -0,0 +1 @@
|
||||
Please add `SMTP_ENABLED=1` to your .env if you're using SMTP.
|
Loading…
x
Reference in New Issue
Block a user