neptune.json file defines your project’s deployment configuration, resources, and runtime settings. Your AI assistant creates and manages this file automatically - you typically don’t need to edit it directly.
Basic Structure
neptune.json
Configuration Reference
Required Fields
| Field | Type | Description |
|---|---|---|
kind | string | Must be "Service" |
name | string | Unique project name (lowercase, hyphens allowed) |
Optional Fields
| Field | Type | Default | Description |
|---|---|---|---|
port_mappings | array | [{container_port: 8080, host_port: 8080}] | Port mappings for your container |
resources | array | [] | Storage buckets and secrets |
Port Mappings
Map your container’s port to the external port:container_port: The port your app listens on inside the containerhost_port: The external port (Neptune routes traffic here)protocol: Optional, defaults to"tcp"
CPU and Memory
Resources
Define the cloud resources your app needs:Complete Example
neptune.json
Getting the Schema
Your AI assistant can retrieve the exact schema forneptune.json:
“What’s the schema for neptune.json?”
Letting AI Handle Configuration
In most cases, you don’t need to manually editneptune.json. Just tell your AI assistant what you need:
“Add a storage bucket for user uploads”
“My app runs on port 3000”