Some checks failed
Lint and Check Types / validations (push) Failing after 47s
- 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.
20 lines
No EOL
506 B
Text
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 |