Last active
May 12, 2026 23:07
-
-
Save blockmar/12391e9169328621811ea96e2c5bdd71 to your computer and use it in GitHub Desktop.
Example Canette Multi-App Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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