Fix initial user creating

This commit is contained in:
2026-04-29 00:55:00 +03:00
parent 3565390a49
commit 66c84ecdeb
16 changed files with 267 additions and 35 deletions

View File

@@ -5,10 +5,18 @@ DB_PASSWORD=your_secure_password_here
API_KEY_SALT=generate_random_salt_with_openssl
CORS_ORIGIN=http://localhost:3001
# Bootstrap admin
BOOTSTRAP_ADMIN=true
BOOTSTRAP_ADMIN_RESET_PASSWORD=false
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change_this_admin_password
ADMIN_FULL_NAME=Main administrator
ADMIN_EMAIL=admin@polotsk-transit.local
# Frontend
API_URL=http://localhost:3000/api/v1
API_URL=/api/v1
# Production settings (uncomment for production)
# NODE_ENV=production
# CORS_ORIGIN=https://admin.yourdomain.com
# API_URL=https://api.yourdomain.com/api/v1
# API_URL=/api/v1