Skip to content

feat: add docker workflow#4

Merged
mduthey merged 14 commits into
mainfrom
docs/docker-deploy-spec
Jun 17, 2026
Merged

feat: add docker workflow#4
mduthey merged 14 commits into
mainfrom
docs/docker-deploy-spec

Conversation

@mduthey

@mduthey mduthey commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

mduthey and others added 14 commits June 16, 2026 17:55
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Multi-stage build: node:24 builder compiles better-sqlite3 native addon
via corepack/pnpm and pnpm build; node:24-slim runtime copies .output
plus node_modules/better-sqlite3 as fallback. Env: TRACKER_DB_PATH=/data/tracker.db, PORT=3000.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pace ref and redundant binding copy)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a "Running with Docker" section to docs/running.md (compose steps,
how-it-works explanation, Docker troubleshooting bullets) and promote it
as the primary run path ahead of from-source. Remove the now-implemented
Docker compose bullet from the deferred-polish list. Update the env-vars
table to note that DMTR_API_KEY is read directly by the tracker (no
wrapper script). In README.md, add a "Run with Docker" quickstart above
the from-source path and replace the stale buidler-fest/preview demo
description with the accurate mainnet DeFi demo (Indigo, VyFi, Bodega,
Fluid Aquarium, Strike Staking, matching mode=best). Update the project
structure tree to include docker-compose.yml, .env.example, deploy/, and
the mainnet TII files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…docs to v11

Addresses final-review findings: pin pnpm via packageManager (corepack),
remove the redundant PORT env on the dashboard service, and fix stale
pnpm-10 / preview references in running.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pins the @tanstack/* deps that were on 'latest' back to concrete versions
for reproducible installs, syncing the lockfile importer specifiers so
pnpm install --frozen-lockfile stays consistent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…s better-sqlite3

pnpm 11 reads the build-script allowlist from pnpm-workspace.yaml (allowBuilds),
not from package.json pnpm.onlyBuiltDependencies. Without it the image build
fails with ERR_PNPM_IGNORED_BUILDS and better-sqlite3 ships without its native
binding. Verified: docker build succeeds and the container serves HTTP 200.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Image is now ghcr.io/tx3-lang/dashboard-frontend, tagged with the git SHA only
(no metadata/latest), published via workflow_dispatch. The compose references
the repo-component image names (tx3-lift-tracker, dashboard-frontend) and pins a
git-SHA tag (GIT_SHA placeholder until first publish). Multi-arch retained.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…v7, setup-*@v4)

Clears the Node.js 20 deprecation (forced June 2026). No breaking changes
affect this workflow (bare setup actions; build-push uses only stable inputs).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…eManager

checkout@v6, pnpm/action-setup@v6, setup-node@v6. Drops the hardcoded
'version: 10' (it conflicted with packageManager pnpm@11.7.0 -> ERR_PNPM_BAD_PM_VERSION)
and reads the version from frontend/package.json via package_json_file. Explicit
cache: pnpm is unaffected by the v5/v6 automatic-cache change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mduthey mduthey merged commit 564b265 into main Jun 17, 2026
1 check passed
@mduthey mduthey deleted the docs/docker-deploy-spec branch June 17, 2026 15:11
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.

1 participant