brainy/examples/brainy-service-template/config/production.json
David Snelling ee003a9473 feat: add zero-configuration Brainy service template with augmentation-first architecture
- Implement WebSocket augmentation for real-time communication
- Implement WebRTC augmentation for peer-to-peer connections
- Implement HTTP augmentation as minimal REST fallback
- Add auto-discovery augmentation for data pattern analysis
- Add adaptive storage augmentation for intelligent resource management
- Add environment adapter augmentation for universal compatibility
- Template auto-detects environment (browser, Node.js, serverless, containers)
- Intelligent transport selection (WebRTC → WebSocket → HTTP)
- Automatic storage optimization (memory → filesystem → S3)
- Zero configuration required - just npm start
- Includes intelligent verb scoring by default
- Works in any environment without configuration
- Full documentation and examples included
2025-08-06 18:17:32 -07:00

28 lines
No EOL
530 B
JSON

{
"service": {
"cors": {
"origins": ["https://yourdomain.com"]
},
"rateLimit": {
"windowMs": 900000,
"maxRequests": 1000
}
},
"brainy": {
"storage": {
"type": "s3",
"s3": {
"bucketName": "${BRAINY_S3_BUCKET}",
"region": "${BRAINY_S3_REGION}",
"accessKeyId": "${BRAINY_S3_ACCESS_KEY}",
"secretAccessKey": "${BRAINY_S3_SECRET_KEY}"
}
},
"cache": {
"hotCacheMaxSize": 50000
}
},
"logging": {
"level": "warn"
}
}