Fix initial user creating
This commit is contained in:
12
.env.example
12
.env.example
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user