Reference
Technical reference documentation for Genbox CLI.
- Shortcuts - Power user shortcuts (gbc, gbg, gbx, etc.)
- Schema Types - All configuration types
- Environment Variables - Env var reference
- Exit Codes - CLI exit codes
Quick Reference
Server Sizes
| Size | vCPU | RAM | Storage | Credits/Hour |
|---|---|---|---|---|
| small | 2 | 4 GB | 50 GB | 1 |
| medium | 4 | 8 GB | 100 GB | 2 |
| large | 8 | 16 GB | 200 GB | 4 |
| xl | 16 | 32 GB | 400 GB | 8 |
App Types
| Type | Description |
|---|---|
| frontend | Client-side application |
| backend | Server-side application |
| worker | Background worker |
| gateway | API gateway |
| library | Shared library |
| fullstack | Full-stack application |
Infrastructure Types
| Type | Examples |
|---|---|
| database | MongoDB, PostgreSQL, MySQL |
| cache | Redis, Memcached |
| queue | RabbitMQ, Kafka |
| storage | MinIO, S3 |
| search | Elasticsearch, Typesense |
| Mailhog |
Database Modes
| Mode | Description |
|---|---|
| none | No database |
| local | Empty local database |
| copy | Copy from source environment |
| snapshot | Restore from backup |
| remote | Connect to remote database |
Connection Modes
| Mode | Description |
|---|---|
| local | Use local service |
| staging | Connect to staging |
| production | Connect to production |
| mock | Use mock service |
File Locations
| File | Location | Purpose |
|---|---|---|
| Config | ./genbox.yaml | Project configuration |
| Secrets | ./.env.genbox | Environment secrets |
| Detected | ./.genbox/detected.yaml | Auto-detected values |
| Resolved | ./.genbox/resolved.yaml | Computed configuration |
| Credentials | ~/.genbox/config.json | Auth tokens |
| SSH Key | ~/.genbox/genbox_ed25519 | SSH key pair |
Last updated on