feat: homelab deployment - NPM + IONOS DNS + monitoring + NAS backup
- Restructured docker-compose for Nginx Proxy Manager (no custom nginx) - Added domain wordly.art configuration - Added Prometheus + Grafana monitoring stack with pre-configured dashboards - Added PostgreSQL backup script to NAS (daily/weekly/monthly rotation) - Added alert rules for backend, system, and Docker metrics - Updated deployment guide for NPM + IONOS DNS homelab setup - Added marketing plan document - PDF translator and watermark support - Enhanced middleware, routes, and translator modules Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -100,7 +100,7 @@ class User(Base):
|
||||
api_keys = relationship("ApiKey", back_populates="user", lazy="select")
|
||||
|
||||
__table_args__ = (
|
||||
CheckConstraint("tier IN ('free', 'pro')", name="ck_users_tier"),
|
||||
CheckConstraint("tier IN ('free', 'starter', 'pro', 'business', 'enterprise')", name="ck_users_tier"),
|
||||
Index("ix_users_email_active", "email", "is_active"),
|
||||
Index("ix_users_stripe_customer", "stripe_customer_id"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user