Commit Graph

2 Commits

Author SHA1 Message Date
50404948f4 feat: configure SMTP email notifications across all services
Added comprehensive email configuration to enable notifications for
password resets, user invitations, system alerts, and backup failures.

**Services configured:**

- **Vaultwarden** (vault/compose.yaml):
  - SMTP settings for password resets, 2FA, emergency access emails
  - Uses IONOS SMTP with force_tls security
  - Sender: hi@pivoine.art

- **Linkwarden** (links/compose.yaml):
  - Email server configuration for user invitations
  - Password reset functionality via email
  - Uses smtp:// connection string format

- **n8n** (n8n/compose.yaml):
  - SMTP mode enabled for workflow notifications
  - User invitation emails
  - Password reset support
  - SSL-secured connection

- **Netdata** (netdata/compose.yaml, health_alarm_notify.conf, msmtprc):
  - Health alarm notifications via email
  - MSMTP configuration for sending alerts
  - Notifications sent to valknar@pivoine.art
  - Alerts for system issues, resource exhaustion, service failures

**Common SMTP settings** (from .env):
- Provider: IONOS (smtp.ionos.de:465)
- From address: hi@pivoine.art
- Transport: SMTP with TLS/SSL
- Admin email: valknar@pivoine.art

**Backrest notifications:**
- Configured via web UI at restic.pivoine.art
- Supports webhooks to Gotify for push notifications
- Email notifications can be added through UI settings

All services now have proper email notification capabilities for
improved monitoring, user management, and security features.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 19:23:56 +01:00
9b433e66ad feat: add Vaultwarden password manager stack
Added self-hosted password manager to The Falcon infrastructure:

**Vault Stack** (vault.pivoine.art):
- Vaultwarden (Bitwarden-compatible server)
- SQLite database for password storage
- WebSocket support for real-time sync
- TOTP and WebAuthn/U2F 2FA support
- Browser extensions and mobile apps compatible

**Configuration:**
- Domain: https://vault.pivoine.art
- Signups: Disabled (invite-only for security)
- Invitations: Enabled
- Password hints: Disabled (security best practice)
- First user becomes admin

**Backup Integration:**
- Added vaultwarden-backup plan to Restic
- Schedule: 8 AM daily (same as letsencrypt)
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
- Backup volume: vault_data mounted read-only

**Infrastructure Updates:**
- Created vault/compose.yaml following stack pattern
- Added VAULT_* environment variables to arty.yml
- Updated compose.yaml to include vault stack
- Added backup_vaultwarden_data volume to restic
- Updated restic/config.json with 12th backup plan

**Documentation:**
- Added Vault to CORE SYSTEMS in README
- Added to ship architecture diagram
- Documented in CLAUDE.md with configuration details
- Updated volume management sections
- Backup count increased from 11 to 12 plans

Critical data backed up with long retention (3 years yearly).
Compatible with official Bitwarden clients on all platforms.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 11:15:12 +01:00