Skip to content

📝 Point README at central documentation and fix the nginx proxy template - #908

Merged
0x46616c6b merged 4 commits into
mainfrom
docs/point-at-central-documentation
Aug 18, 2026
Merged

📝 Point README at central documentation and fix the nginx proxy template#908
0x46616c6b merged 4 commits into
mainfrom
docs/point-at-central-documentation

Conversation

@0x46616c6b

Copy link
Copy Markdown
Member

Summary

Reduces the README to a pointer at the central documentation site, fixes two defects in the nginx
proxy template, and aligns the agent instructions with the other Ticker repositories.

Why

Documentation for the three Ticker repositories is being consolidated into
systemli/ticker, published at
https://systemli.github.io/ticker/. Installation, configuration, deployment and troubleshooting
concern the stack as a whole and were previously documented nowhere for this repository — the README
had no Docker or deployment section at all, despite an image being published.

The README also carried instructions that no longer matched the repository:

  • it asked for yarn install and yarn run dev, although there is no yarn.lock,
    packageManager pins npm and every workflow uses npm ci;
  • it stated no Node version, while .nvmrc and engines pin 24;
  • it did not mention that TICKER_API_URL must include the /v1 suffix, nor that the value is
    build-time only and the Docker image relies on a runtime proxy instead;
  • it had no licence section, unlike the sibling repositories.

Proxy fixes

docker/nginx.conf.template had two defects. Both affect anyone using this repository's own
docker-compose.yml, which mounts the template.

  • WebSocket connections could not upgrade. The /api/ block set neither
    proxy_http_version 1.1 nor the Upgrade and Connection headers.
  • Uploads over 1 MB were rejected by the proxy. It inherited nginx's default
    client_max_body_size while the API itself accepts 10 MB.

The read timeout is also raised. The default of 60 seconds sits only 6 seconds above the server's
ping period, which is enough to drop idle connections.

Also included

A .dockerignore, which the repository lacked — the build context previously included
node_modules, dist, coverage and any local .env, so a local build could bake a developer's
API URL into the image.

CLAUDE.md is added as a symlink to AGENTS.md, and AGENTS.md adopts the commit and pull request
conventions now shared across the three repositories. Its drifted references are corrected too:
eslint.config.js was named as .eslintrc.cjs, release.yml as release.yaml, two release
workflows were missing, and the pinned dependency versions had all moved on.

Companion pull request: systemli/ticker#470.

The /api/ proxy did not set proxy_http_version 1.1 or the Upgrade and
Connection headers, so WebSocket connections through it could not upgrade.

It also inherited nginx's 1 MB client_max_body_size while the API accepts
10 MB, so larger uploads were rejected before reaching it.

The read timeout is raised as well: the default 60s is only 6s above the
server's ping period, which drops idle connections.
Without one, the build context included node_modules, dist, coverage and
any local .env, which slowed builds and could bake a developer's API URL
into an image.
Installation, configuration and deployment are now documented centrally
for all three repositories, so the README keeps only what is specific to
this one.

Also corrects instructions that no longer matched the repository: it asked
for yarn although there is no yarn.lock and CI uses npm, stated no Node
version despite .nvmrc and engines pinning 24, and did not mention that
TICKER_API_URL has to include the /v1 suffix.
Adds CLAUDE.md as a symlink to AGENTS.md so agents find the same file
under either name, and adopts the commit and pull request section now
shared by all three repositories.

Also corrects drifted references: eslint.config.js was named as
.eslintrc.cjs, release.yml as release.yaml, two release workflows were
missing, and the pinned dependency versions had all moved on.
@0x46616c6b 0x46616c6b added the bug Something isn't working label Aug 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

@0x46616c6b
0x46616c6b marked this pull request as ready for review August 18, 2026 16:04
@0x46616c6b
0x46616c6b merged commit 58774c1 into main Aug 18, 2026
8 checks passed
@0x46616c6b
0x46616c6b deleted the docs/point-at-central-documentation branch August 18, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant