These examples are copyable deployment patterns, not complete applications. Choose the closest manifest, copy it into a matching project, and update the name, commands, ports, regions, and resource settings before deployment.
| Example | Demonstrates |
|---|---|
basic-node |
A single Node.js API |
managed-postgres |
Generated credentials and a managed Postgres dependency |
multi-region |
Per-region replicas and a custom domain |
monorepo |
Recursive project discovery, aliases, and dependency ordering |
shared-source |
A sibling source directory included in a build graph |
ignore-rules |
Deployment-only exclusions with .adiosignore |
Copy the chosen manifest into your application directory:
cp /path/to/cli/examples/basic-node/adios.yaml ./adios.yamlReview it, then log in and deploy:
adios login
adios upOn its first deployment, the CLI may add app_id, team_id, and managed
resource IDs to the copied manifest. Those values bind later commands to the
same platform objects; do not copy the updated manifest into an unrelated
project without removing and regenerating those identities.
The examples assume conventional production scripts:
- Node.js examples expect a
server.jsor an appropriatenpm run start; - the Go API example expects a buildable
mainpackage; and - the Next.js example expects a project with
buildandstartscripts.
If your framework uses another entrypoint, change build_cmd and start_cmd.
The process must bind to 0.0.0.0 and listen on the declared port.
The managed Postgres pattern declares generated credentials and uses
secret:// references. Never replace those references with real passwords in
a committed manifest. Store an existing value with adios secrets set and
reference its key instead.
Read Deployments and manifests for field behavior and Resources and routing for resource commands.