Skip to content

[Improve] Correct Railway Composer notes after configuring the live prompts - #16

Merged
mrubens merged 3 commits into
developfrom
improve/railway-composer-notes
Jul 9, 2026
Merged

[Improve] Correct Railway Composer notes after configuring the live prompts#16
mrubens merged 3 commits into
developfrom
improve/railway-composer-notes

Conversation

@mrubens

@mrubens mrubens commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #10, aligning the spec and operator guide with the published templates (main Rj2cFo, develop bP3Lsu).

Composer corrections (from configuring the ROOMOTE_APP_URL deploy-screen prompt on both templates and verifying on the live deploy screens):

  • Railway does have a template Duplicate action; the maintainer note no longer claims otherwise.
  • The prompt surfaces inside the api service's Configure step, and the verification checklist now says where to look.

Spec adoption of two variables the published templates already ship:

  • SETUP_TOKEN=${{secret(32)}} on api (referenced by the other app services). This is not optional anymore: apps/web/src/lib/server/setup-token.ts refuses tokenless first-admin bootstrap outside local development, so a template without it cannot complete setup at all. The spec previously said it was intentionally unset — that note was stale against the app.
  • ROOMOTE_PING_BASE_URL=https://ping.openmote.dev — anonymous-analytics and version-check pings (image default is ping.roomote.dev); analytics opt-out stays available in the setup wizard and Settings → Misc.

…rompts

The ROOMOTE_APP_URL deploy-screen prompt is now configured on both
published templates (verified on the live deploy screens). Corrections
from doing it: Railway does have a template Duplicate action, and the
prompt surfaces inside the api service's Configure step rather than as a
standalone top-level input.
@roomote-roomote-v1

roomote-roomote-v1 Bot commented Jul 9, 2026

Copy link
Copy Markdown

No new code issues found. See task

roomote added 2 commits July 8, 2026 23:08
…y spec

Both published templates already ship these; the spec and operator guide
now match. SETUP_TOKEN is not optional anymore: the app refuses tokenless
first-admin bootstrap outside local development, so the template must
generate it. ROOMOTE_PING_BASE_URL points anonymous-analytics and
version-check pings at the openmote ping service.
…ilway spec

The published templates originally repeated raw values per service, which
silently broke the one-variable custom-domain edit (web kept deriving
ROOMOTE_APP_URL from its own generated domain). Both templates now use
${{api.*}} references in the shared block per the spec, and a scratch
deploy on 2026-07-08 confirmed the two-hop references resolve to real
URLs. The design note records the verification and warns against
flattening the references again.
@mrubens

mrubens commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Live-template state as of this PR: both published templates (main Rj2cFo, develop bP3Lsu) now match this spec exactly — the ROOMOTE_APP_URL deploy prompt is configured, SETUP_TOKEN/ROOMOTE_PING_BASE_URL are present, and the web/controller/bullmq shared blocks use ${{api.*}} references instead of repeated raw values. A scratch deploy verified the two-hop reference resolution produces real URLs in the app services' variables (checklist run 2026-07-08).

@mrubens
mrubens merged commit 2a2528e into develop Jul 9, 2026
1 check passed
@mrubens
mrubens deleted the improve/railway-composer-notes branch July 9, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants