From 4d714caf0abe3141c4c567d7917b438685c82ff2 Mon Sep 17 00:00:00 2001 From: Alexanderamiri Date: Sat, 31 Oct 2026 13:10:27 +0100 Subject: [PATCH] fix(app.yaml): leave routing.priority out so the platform derives one Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- app.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 6c71b28..17da8f0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -24,7 +24,7 @@ GitHub template repository for creating new services on the Javabin platform. - `name` — service name (required, lowercase + hyphens, max 20 chars) - `team` — owning team, lowercase letters only (max 12), must exist in the registry (required) - `compute` — CPU, memory, port, desired count, health check path, `user` (default `"1000"`), `readonly_root_filesystem` (default `true`; only `/tmp` writable) -- `routing` — hostname one label under `javazone.no`, `java.no` or `javabin.no`, and ALB priority +- `routing` — hostname one label under `javazone.no`, `java.no` or `javabin.no`, and an optional ALB `priority` (leave it out: the platform derives a unique one; explicit values must be 1-999) - `resources` — S3 buckets, DynamoDB tables / RDS PostgreSQL, SSM secrets (created as `PLACEHOLDER`, set with `javabin secret set`), SQS queues - `auth` — Cognito: `internal`/`external` shorthand, or full form with `client: confidential|public|none`, `callback_urls` (https or `http://localhost`), `groups` (restricts sign-in), `env` (alias injected names) - `environment` — custom environment variables diff --git a/app.yaml b/app.yaml index 297937e..927710a 100644 --- a/app.yaml +++ b/app.yaml @@ -24,7 +24,8 @@ compute: # ALB routing — omit for a worker with no load balancer routing: host: my-service.javazone.no # one label under javazone.no, java.no or javabin.no - priority: 100 # unique across all apps (1-50000) + # priority: 120 # optional; leave out and the platform derives a unique one. + # Set (1-999) only to keep an existing rule or move off a collision. # Infrastructure resources (optional) — auto-wired to your container # resources: