unreal-chat/.env.example
Juan Sebastian Montoya cffcddb259 chore: update environment configuration and Docker setup
- Added .env.example file for environment variable documentation
- Refactored docker-compose.yml to use environment variables for API URLs
- Updated TypeScript configuration to use NodeNext module resolution
2025-04-10 14:36:22 -05:00

19 lines
No EOL
490 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
NODE_ENV=production
TOKEN_SECRET=your-secret-key
# Web
VITE_API_URL=http://localhost:4000/graphql
VITE_WS_URL=ws://localhost:4000/graphql