githubnext/chopinPublic

Let's compose rich plans together

Fix Coolify preview origins #75

MergedKrzysztof-Cieslakmerged 1 commit intomainfromrefs/pull/75/head
  1. KC

    ## Summary - derive `APP_ORIGIN` from Coolify's public service URL rather than its port-qualified routing URL - retain `SERVICE_URL_APP_8787` as a separate marker for proxying to the app container - document the distinction between preview origin discovery and internal port routing

    ## Testing - `docker compose --env-file .env.example -f compose.yaml config --quiet` - `docker compose --env-file .env.example -f compose.yaml -f compose.local.yaml config --quiet` - simulated PR 74 resolves `APP_ORIGIN=https://74-chopin.githubnext.com`, `SERVICE_URL_APP_8787=https://74-chopin.githubnext.com:8787`, and database host `db-pr-74` - `bun run ci`

  2. The preview deployment for **chopin** is ready. 🟢

    [Open app](http://75.chopin.githubnext.com) | [Open Build Logs](https://next-appserver.tail49836a.ts.net/project/l9buznc9ua1if0vflxrjwajs/environment/lxqsvczv19eopxk29vfb46mj/application/hb85gdd9mwqqlfwcteflvpbj/deployment/7q8tb8dffxsuztkbpu0rjbqa) | [Open Application Logs](https://next-appserver.tail49836a.ts.net/project/l9buznc9ua1if0vflxrjwajs/environment/lxqsvczv19eopxk29vfb46mj/application/hb85gdd9mwqqlfwcteflvpbj/logs)

    Last updated at: 2026-08-19 18:31:56 CET

  3. Krzysztof-Cieslakmerged e78e007d662c2 months ago on GitHub

  4. Krzysztof-Cieslakclosed2 months ago on GitHub

  5. Krzysztof-Cieslakhead-ref-deleted2 months ago on GitHub