From 641544f7176bf24ba0436e872c6f3a4cdb6ede84 Mon Sep 17 00:00:00 2001 From: yznahmad Date: Tue, 19 Aug 2025 01:04:09 +0300 Subject: [PATCH] feat: Add new user authentication for v2.00 --- .env.dokploy | 30 ------------------------------ .env.production | 39 --------------------------------------- 2 files changed, 69 deletions(-) delete mode 100644 .env.dokploy delete mode 100644 .env.production diff --git a/.env.dokploy b/.env.dokploy deleted file mode 100644 index 714cafd..0000000 --- a/.env.dokploy +++ /dev/null @@ -1,30 +0,0 @@ -# Dokploy Environment Variables -# Use these values in your Dokploy environment variables section - -NODE_ENV=production -APP_PORT=5173 - -# Database (uses Docker volume) -DATABASE_URL=file:/app/data/production.db - -# Security - CHANGE THESE VALUES! -SESSION_SECRET=your-super-secure-session-secret-change-this-in-production-min-32-chars -ENCRYPTION_KEY=production-secure-encryption-key! -SUPER_ADMIN=superadmin -SUPER_ADMIN_EMAIL=admin@yourcompany.com -SUPER_ADMIN_PASSWORD=YourSecurePassword123! - -# Domain (set to your actual domain) -DOMAIN=your-domain.com - -# Mail Settings (optional - for password reset features) -MAIL_HOST= -MAIL_PORT=587 -MAIL_SECURE=false -MAIL_USERNAME= -MAIL_PASSWORD= -MAIL_FROM_NAME=Phosphat Report System -MAIL_FROM_EMAIL= - -# Logging -LOG_LEVEL=info \ No newline at end of file diff --git a/.env.production b/.env.production deleted file mode 100644 index a6842cb..0000000 --- a/.env.production +++ /dev/null @@ -1,39 +0,0 @@ -# Production Environment Variables -# Copy this file and rename to .env for production deployment -# Make sure to change all default values for security - -# Application Settings -NODE_ENV=production -APP_PORT=5173 -DOMAIN=your-domain.com - -# Database -DATABASE_URL="file:/app/data/production.db" - -# Security -SESSION_SECRET="your-super-secure-session-secret-change-this-in-production-min-32-chars" -ENCRYPTION_KEY="production-secure-encryption-key!" - -# Super Admin Account (created on first run) -SUPER_ADMIN="superadmin" -SUPER_ADMIN_EMAIL="admin@yourcompany.com" -SUPER_ADMIN_PASSWORD="YourSecurePassword123!" - -# Storage Paths (for bind mounts) -DATA_PATH=./data -BACKUP_PATH=./backups - -# Backup Schedule (cron format) -BACKUP_SCHEDULE="0 2 * * *" - -# Mail Settings (optional - for password reset features) -MAIL_HOST="" -MAIL_PORT="587" -MAIL_SECURE="false" -MAIL_USERNAME="" -MAIL_PASSWORD="" -MAIL_FROM_NAME="Phosphat Report System" -MAIL_FROM_EMAIL="" - -# Logging (optional) -LOG_LEVEL="info" \ No newline at end of file