Files
Lucky_Wheel/apps/api/.env.example
T
2026-09-10 01:58:29 +03:30

36 lines
977 B
Bash

# Application
NODE_ENV=development
PORT=3000
# Database (PostgreSQL inside Docker)
DATABASE_URL="postgresql://postgres:postgrespassword@localhost:5432/lucky_wheel?schema=public"
# Redis & Queue
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# JWT Secrets
JWT_USER_SECRET=lucky_wheel_user_jwt_super_secret_key_2026!
JWT_USER_EXPIRES_IN=7d
JWT_ADMIN_ACCESS_SECRET=lucky_wheel_admin_access_jwt_super_secret_key_2026!
JWT_ADMIN_ACCESS_EXPIRES_IN=1h
JWT_ADMIN_REFRESH_SECRET=lucky_wheel_admin_refresh_jwt_super_secret_key_2026!
JWT_ADMIN_REFRESH_EXPIRES_IN=7d
# SMS Provider - raygansms.com
RAYGAN_SMS_USERNAME=demo_user
RAYGAN_SMS_PASSWORD=demo_password
RAYGAN_SMS_LINE_NUMBER=3000xxxx
RAYGAN_SMS_API_BASE_URL=https://api.raygansms.com
SMS_DRIVER=mock
# Storage Driver (local disk)
STORAGE_DRIVER=local
STORAGE_LOCAL_ROOT=./uploads
STORAGE_PUBLIC_URL=http://localhost:3000/uploads
# CORS
CORS_ADMIN_ORIGIN=http://localhost:5173
CORS_CLIENT_ORIGIN=http://localhost:5174