mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat(licenses): implement license management and validation features
- Added a new licenses application to handle license key management. - Implemented API endpoints for validating license keys and managing paid features. - Introduced a new component for enabling paid features in the dashboard. - Updated database schema to include a licenseKey field for users. - Refactored server API to remove the admin router and integrate license validation into user operations. - Enhanced the monitoring setup process to require valid license keys. - Updated pnpm workspace configuration to include the new licenses app.
This commit is contained in:
@@ -56,6 +56,7 @@ export const users_temp = pgTable("user_temp", {
|
||||
logCleanupCron: text("logCleanupCron"),
|
||||
// Metrics
|
||||
enablePaidFeatures: boolean("enablePaidFeatures").notNull().default(false),
|
||||
licenseKey: text("licenseKey"),
|
||||
metricsConfig: jsonb("metricsConfig")
|
||||
.$type<{
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user