Commit graph

13 commits

Author SHA1 Message Date
amir-climy
4f2408eeb3 chore: point at forgejo registry + new image name
Mirror the source-of-truth update from primatekuntech/triton@HEAD:
the Manage Server image now lives at
forgejo.primatekun.tech/primatekuntech/triton-manage-server (not the
legacy ghcr.io/primatekuntech/triton-manageserver). Updates the
distribution copy of compose.yaml, env.template, upgrade.sh plus the
example URLs in get.sh and README.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 12:41:05 +08:00
Amir Yahaya
1d635a9338 feat: remove --license-server-url flag — URL now baked into binary
The License Server URL (https://license.tritonscans.com) is compiled
into the manage-server binary at release time. No need to pass it
during installation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 07:59:56 +02:00
Amir Yahaya
fb80b3e21f docs: expand host-bound licence instructions with machine ID details
Clarifies the exact installer output format, emphasises that the Machine ID
is stable (SHA-3-256 of /etc/machine-id, set once at OS install), and shows
how to retrieve it at any time by re-running the install command.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 07:34:03 +02:00
amir-climy
f869e9c308 feat(security): add host-bound licence support (/etc/machine-id binding)
- compose.yaml: mount /etc/machine-id read-only into the manage-server container
- install.sh: print SHA-3-256 of /etc/machine-id after install so customers
  can share it with their vendor when requesting a host-bound .lic file
- README.md: document "Host-bound licences" flow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 10:19:44 +08:00
amir-climy
d2a19d4df7 feat(install): drop pubkey file from bundle — single license.lic is enough
Pubkey is now baked into the image at build time. Bundle is just license.lic.
TRITON_MANAGE_LICENSE_SERVER_PUBKEY in .env is optional (compiled-in default
used when empty).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 00:08:17 +08:00
amir-climy
9780ee3601 feat(install): license bundle approach — --license-file replaces pubkey fetch
Remove auto-fetching pubkey from license server. Instead the vendor ships
a bundle (license.lic + pubkey) and the installer reads both files from
the same directory. Works for both online and air-gapped deployments.
--license-server-url is now optional (heartbeats only, not required to start).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 23:29:19 +08:00
amir-climy
bbdc8aa292 feat(install): fetch license pubkey automatically from license server URL
Remove --license-server-pubkey flag. When --license-server-url is given,
the installer fetches the pubkey from GET /api/v1/license/pubkey on the
license server and writes it to .env — the key is never visible to the
operator on the command line.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 23:21:05 +08:00
amir-climy
e0e887f97a feat(install): add --license-server-pubkey and --license-server-url flags
These were documented but never implemented. Without TRITON_MANAGE_LICENSE_SERVER_PUBKEY
the server refuses to start. Also add both vars to env.template so users
know they exist and what they're for.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 23:10:06 +08:00
amir-climy
3b3de281f6 feat(install): add --port flag to set web UI host port at install time
Passes --port PORT through to TRITON_MANAGE_HOST_PORT in .env so users
can change the default 8082 at install time via the one-liner:

  curl ... | sudo bash -s -- --port 9090

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:45:00 +08:00
amir-climy
2a2744f897 docs(readme): rewrite with get.sh one-liners for install, upgrade, and uninstall
All commands are now single-line curl one-liners referencing get.sh directly.
Added dedicated Upgrade and Uninstall sections with full URLs. Requirements
updated to include macOS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:37:41 +08:00
Amir Yahaya
286de6d3d0 docs: simplify install to single curl command — setup wizard handles licence config 2026-05-17 10:13:06 +02:00
Amir Yahaya
1a50c46206 docs: scope README to manage server only 2026-05-17 09:22:25 +02:00
Amir Yahaya
92b0eeec90 feat: initial installer scripts for manage server and license server 2026-05-17 08:57:58 +02:00