|
| 1 | +# Vinzy-Engine Configuration |
| 2 | +# Copy this file to .env and fill in your values |
| 3 | + |
| 4 | +# Environment |
| 5 | +VINZY_ENVIRONMENT=development |
| 6 | + |
| 7 | +# Security Keys (CHANGE THESE IN PRODUCTION) |
| 8 | +VINZY_SECRET_KEY=change-me-to-a-random-secret |
| 9 | +VINZY_HMAC_KEY=change-me-to-a-random-hmac-key |
| 10 | +VINZY_API_KEY=change-me-to-a-random-api-key |
| 11 | +VINZY_SUPER_ADMIN_KEY=change-me-to-a-random-super-admin-key |
| 12 | + |
| 13 | +# HMAC Keyring (JSON dict for key rotation) |
| 14 | +# VINZY_HMAC_KEYS={"0": "primary-key", "1": "rotated-key"} |
| 15 | + |
| 16 | +# Database |
| 17 | +VINZY_DB_URL=sqlite+aiosqlite:///./data/vinzy.db |
| 18 | + |
| 19 | +# Server |
| 20 | +VINZY_HOST=0.0.0.0 |
| 21 | +VINZY_PORT=8080 |
| 22 | +VINZY_API_PREFIX= |
| 23 | + |
| 24 | +# CORS |
| 25 | +# VINZY_CORS_ORIGINS=["http://localhost:3000","http://localhost:8000"] |
| 26 | + |
| 27 | +# Licensing Defaults |
| 28 | +VINZY_DEFAULT_MACHINES_LIMIT=3 |
| 29 | +VINZY_DEFAULT_LICENSE_DAYS=365 |
| 30 | +VINZY_HEARTBEAT_INTERVAL=3600 |
| 31 | + |
| 32 | +# Lease Settings |
| 33 | +VINZY_LEASE_TTL=86400 |
| 34 | +VINZY_LEASE_OFFLINE_TTL=259200 |
| 35 | + |
| 36 | +# Pagination |
| 37 | +VINZY_DEFAULT_PAGE_SIZE=20 |
| 38 | +VINZY_MAX_PAGE_SIZE=100 |
| 39 | + |
| 40 | +# ── Zuultimate Integration ── |
| 41 | +VINZY_ZUULTIMATE_BASE_URL=http://zuultimate:8000 |
| 42 | +VINZY_ZUULTIMATE_SERVICE_TOKEN=change-me-to-a-random-service-token |
| 43 | + |
| 44 | +# ── Product Callbacks (notify products after provisioning completes) ── |
| 45 | +# JSON map: product code → webhook URL |
| 46 | +# VINZY_PRODUCT_CALLBACKS={"ARC": "http://arclane:8012/api/billing/provision-complete"} |
| 47 | +VINZY_PRODUCT_CALLBACKS= |
| 48 | +VINZY_PRODUCT_CALLBACK_TOKEN= |
| 49 | + |
| 50 | +# ── Stripe ── |
| 51 | +# VINZY_STRIPE_SECRET_KEY=sk_live_... |
| 52 | +# VINZY_STRIPE_WEBHOOK_SECRET=whsec_... |
| 53 | +# VINZY_STRIPE_PRICE_MAP={"arclane_pro_monthly": "price_...", "arclane_enterprise_monthly": "price_..."} |
| 54 | + |
| 55 | +# ── Email (for license delivery) ── |
| 56 | +# VINZY_EMAIL_PROVIDER=resend |
| 57 | +# VINZY_EMAIL_API_KEY=re_... |
0 commit comments