Guides
Configuration & Environment Setup
Configure NovaServe build targets, cloud regions, environment variables, and provider-specific settings.
This guide covers setting up multi-environment configurations, provider-specific settings, and environment variable management.
Configuring Multiple Targets
A single nova.config.ts can target multiple cloud providers:
nova.config.ts
import { defineConfig } from "novaserve/config";
export default defineConfig({
project: "my-app",
target: "aws", // Default target
aws: {
region: "us-east-1",
architecture: "arm64",
memorySize: 512,
},
cloudflare: {
accountId: process.env.CLOUDFLARE_ACCOUNT_ID,
compatibilityDate: "2026-08-01",
},
});Override the target at deploy time:
Terminal
nova deploy --target cloudflareEnvironment Management
Use the --env flag to deploy to different namespaces:
Terminal
nova deploy --target aws --env staging
nova deploy --target aws --env productionEnvironment Variables
Set NOVA_ENV to avoid passing --env on every command.
Remote State Backend
For team collaboration, configure an S3 state backend:
nova.config.ts
export default defineConfig({
state: {
backend: "s3",
lockTable: "novaserve-locks",
},
});