Skip to content

Instantly share code, notes, and snippets.

@blockmar
Last active May 12, 2026 23:07
Show Gist options
  • Select an option

  • Save blockmar/12391e9169328621811ea96e2c5bdd71 to your computer and use it in GitHub Desktop.

Select an option

Save blockmar/12391e9169328621811ea96e2c5bdd71 to your computer and use it in GitHub Desktop.
Example Canette Multi-App Template
name: "Node API + Postgres"
description: "Express API backed by a Postgres database"
apps:
- name: API
slug: api
source_type: git
git_url: https://github.com/org/api
git_branch: main
port: 3000
env:
DATABASE_URL: "postgresql://app:{{apps.db.slug}}@{{apps.db.slug}}:5432/app"
NODE_ENV: production
secrets:
- name: SESSION_SECRET
description: "A 32-character random string — run: openssl rand -hex 16"
- name: Postgres
slug: db
source_type: image
image_url: postgres
image_tag: "16"
port: 5432
secrets:
- name: POSTGRES_PASSWORD
description: "Choose a strong password — must match DATABASE_URL above"
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment