unreal-chat/.env.example
Juan Sebastian Montoya c7911953df
Some checks failed
Lint and Check Types / validations (push) Failing after 47s
chore: update environment configuration and enhance Prisma integration
- Added MINIO_PORT to .env.example for Minio configuration.
- Updated package.json to include a script for Prisma generation.
- Modified turbo.json to ensure db:generate task is executed during build and dev processes.
- Updated CI workflow to run Prisma generate step.
- Adjusted imports in the API to reference the generated Prisma client correctly.
- Added .gitignore entry for Prisma client directory.
2025-05-06 18:36:47 -05:00

20 lines
No EOL
506 B
Text

# API
DATABASE_URL="mysql://user:password@localhost:3306/db_name"
ALLOWED_ORIGINS="http://localhost:5173"
API_HOST=0.0.0.0
API_PORT=4000
COOKIE_SECRET=your-secret-key
MEMC_HOST=localhost
MEMC_PORT=11211
MINIO_ACCESS_KEY=your-access-key
MINIO_BUCKET_NAME=your-bucket-name
MINIO_ENDPOINT=your-endpoint
MINIO_SECRET_KEY=your-secret-key
MINIO_USE_SSL=true
MINIO_PORT=9000
NODE_ENV=production
TOKEN_SECRET=your-secret-key
# Web
VITE_API_URL=http://localhost:4000/graphql
VITE_WS_URL=ws://localhost:4000/graphql