Deployment
Guidelines for deploying applications powered by an5 ORM across cloud providers and containerized environments.
Active Context: Deploying Kotlin application with Nbase database.
Production Checklist
Before going live:
- Set
DATABASE_URLsecurely via cloud environment secrets manager. - Configure connection pooling limits appropriate for your container concurrency.
- Enable TLS/SSL connection encryption (
sslmode=require,encrypt=true). - Run automated health check before accepting traffic.
- Verify automated database backup and disaster recovery schedules.
Environment Configuration
Production Connection String
Set DATABASE_URL according to your target cloud database provider:
# Production DATABASE_URL (Active: Nbase)
DATABASE_URL=nbase://vector-cluster.internal:1307?token=secret-token
# Application environment
NODE_ENV=production
LOG_LEVEL=warn
Runtime Initialization
Container Deployment (Docker)
Multi-stage Dockerfile tailored for your stack:
Next Steps
- Troubleshooting - Connection diagnostics and common error resolutions
- Configuration - Full runtime options reference