fix: enable email functionality in Linkwarden with correct SMTP configuration

- Add NEXT_PUBLIC_EMAIL_PROVIDER=true to enable email features
- Change EMAIL_SERVER protocol from smtp:// to smtps:// for port 465 (implicit SSL/TLS)

This fixes the login issue where password recovery and email verification were not working.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-13 17:07:47 +01:00
parent badfeb1e45
commit 730243e894

View File

@@ -12,8 +12,9 @@ services:
NEXTAUTH_URL: https://${LINKS_TRAEFIK_HOST}
MEILI_ADDR: http://linkwarden_meilisearch:7700
MEILI_MASTER_KEY: ${LINKS_MEILI_MASTER_KEY}
NEXT_PUBLIC_EMAIL_PROVIDER: true
EMAIL_FROM: ${EMAIL_FROM}
EMAIL_SERVER: smtp://${EMAIL_SMTP_USER}:${EMAIL_SMTP_PASSWORD}@${EMAIL_SMTP_HOST}:${EMAIL_SMTP_PORT}
EMAIL_SERVER: smtps://${EMAIL_SMTP_USER}:${EMAIL_SMTP_PASSWORD}@${EMAIL_SMTP_HOST}:${EMAIL_SMTP_PORT}
volumes:
- linkwarden_data:/data/data
depends_on: