@xns-cloud/relayer-mcp 0.11.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRIVACY.md +14 -8
- package/README.md +66 -19
- package/manifest.json +5 -6
- package/package.json +3 -5
- package/src/index.js +4 -2
- package/src/lib/dockerUtil.js +121 -2
- package/src/lib/nodeVersion.js +3 -3
- package/src/lib/serverInstructions.js +11 -0
- package/src/tools/checkClaimStatus.js +1 -1
- package/src/tools/checkEmailVerified.js +1 -1
- package/src/tools/checkPrerequisites.js +349 -40
- package/src/tools/checkRelayerHealth.js +64 -10
- package/src/tools/configureVpd.js +1 -1
- package/src/tools/describeSettings.js +2 -6
- package/src/tools/getHostTags.js +1 -1
- package/src/tools/installRelayer.js +276 -59
- package/src/tools/manageBackups.js +1 -1
- package/src/tools/restartService.js +1 -1
- package/src/tools/setupCliCredentials.js +1 -1
- package/src/tools/startClaim.js +1 -1
- package/src/tools/startRegistration.js +1 -1
- package/src/tools/updateSettings.js +1 -1
- package/src/tools/verifyStorage.js +1 -1
- package/src/templates/docker-compose.yml +0 -86
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# Bundled by @xns-cloud/relayer-mcp — OFFLINE FALLBACK for the released install.
|
|
2
|
-
# Source of truth: the beta channel bundle on the XNS releases registry —
|
|
3
|
-
# https://releases.scpri.me/relayer/beta/docker-compose.yml. install_relayer
|
|
4
|
-
# fetches that URL by default and only writes this copy when the fetch fails,
|
|
5
|
-
# so this file MUST keep service parity with the channel bundle: relayer + the
|
|
6
|
-
# monitoring stack (Prometheus + Grafana + node-exporter) that powers the
|
|
7
|
-
# dashboards under Monitoring in the web UI. The jest contract tests enforce
|
|
8
|
-
# the parity.
|
|
9
|
-
#
|
|
10
|
-
# NEVER point an image at Docker Hub scprime/* — those are production fleet
|
|
11
|
-
# tags, not a release channel. The one allowed upstream image is
|
|
12
|
-
# prom/node-exporter (public, multi-arch, version-pinned — matches the channel
|
|
13
|
-
# bundle; nothing to rebuild).
|
|
14
|
-
#
|
|
15
|
-
# Pre-release: pinned to :beta-latest so beta testers exercise the current
|
|
16
|
-
# Relayer agentically. Flip these tags to :stable-latest at general release.
|
|
17
|
-
#
|
|
18
|
-
# A first-time user never hand-writes this file or the .env — install_relayer
|
|
19
|
-
# writes both.
|
|
20
|
-
#
|
|
21
|
-
# STORAGE STRATEGY — MUST match the channel bundle (named volume relayer_data).
|
|
22
|
-
# This file is written only when the channel fetch fails; if the two used
|
|
23
|
-
# DIFFERENT volume strategies, an online-vs-offline install would silently switch
|
|
24
|
-
# the mount target and the user's buckets would appear to vanish (data orphaned
|
|
25
|
-
# in the unmounted volume). That was tacom beta bug #2 (2026-06-09): this file
|
|
26
|
-
# used a bind mount `./data` while the channel used `relayer_data`. Both now use
|
|
27
|
-
# the named volume. The storage-strategy parity test in installRelayer.test.js
|
|
28
|
-
# enforces it — do NOT reintroduce a bind mount here.
|
|
29
|
-
#
|
|
30
|
-
# Other differences from the channel compose, by design:
|
|
31
|
-
# - SMB ports 139/445 are intentionally NOT exposed: 445 is held by Windows
|
|
32
|
-
# SMB on consumer hosts and would fail the install. S3 onboarding uses :9000.
|
|
33
|
-
# - pull_policy: always so `docker compose up -d` fetches the current beta
|
|
34
|
-
# images without a separate `docker compose pull` step.
|
|
35
|
-
services:
|
|
36
|
-
xns:
|
|
37
|
-
# container_name is load-bearing: the baked-in prometheus.yml scrapes the
|
|
38
|
-
# relayer by this name, and the install preflight keys on it.
|
|
39
|
-
container_name: xns-relayer
|
|
40
|
-
image: releases.scpri.me/xns-relayer:beta-latest
|
|
41
|
-
pull_policy: always
|
|
42
|
-
restart: unless-stopped
|
|
43
|
-
privileged: true # samba / fuse / disk management (matches channel compose)
|
|
44
|
-
volumes:
|
|
45
|
-
- relayer_data:/relayer # named volume — MUST match the channel bundle (bug #2)
|
|
46
|
-
ports:
|
|
47
|
-
- ${BIND_ADDRESS:-}${UI_PORT:-8888}:8888
|
|
48
|
-
- ${BIND_ADDRESS:-}${S3_PORT:-9000}:9000
|
|
49
|
-
env_file:
|
|
50
|
-
- .env
|
|
51
|
-
|
|
52
|
-
# Monitoring stack — powers the dashboards under Monitoring in the web UI.
|
|
53
|
-
# Not host-exposed: Grafana is reached only through the relayer's /grafana
|
|
54
|
-
# reverse proxy and the in-network Prometheus scrape.
|
|
55
|
-
prometheus:
|
|
56
|
-
image: releases.scpri.me/relayer-prometheus:beta-latest
|
|
57
|
-
pull_policy: always
|
|
58
|
-
restart: unless-stopped
|
|
59
|
-
volumes:
|
|
60
|
-
- prometheus_data:/prometheus
|
|
61
|
-
|
|
62
|
-
grafana:
|
|
63
|
-
image: releases.scpri.me/relayer-grafana:beta-latest
|
|
64
|
-
pull_policy: always
|
|
65
|
-
restart: unless-stopped
|
|
66
|
-
environment:
|
|
67
|
-
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
68
|
-
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
69
|
-
- GF_SERVER_SERVE_FROM_SUB_PATH=true
|
|
70
|
-
- GF_SERVER_ROOT_URL=%(protocol)s://%(domain)s/grafana
|
|
71
|
-
- GF_SECURITY_ALLOW_EMBEDDING=true
|
|
72
|
-
volumes:
|
|
73
|
-
- grafana_data:/var/lib/grafana
|
|
74
|
-
|
|
75
|
-
node-exporter:
|
|
76
|
-
image: prom/node-exporter:v1.11.1
|
|
77
|
-
restart: unless-stopped
|
|
78
|
-
command:
|
|
79
|
-
- --path.rootfs=/host
|
|
80
|
-
volumes:
|
|
81
|
-
- /:/host:ro # read-only host metrics for the Node Health page
|
|
82
|
-
|
|
83
|
-
volumes:
|
|
84
|
-
relayer_data:
|
|
85
|
-
prometheus_data:
|
|
86
|
-
grafana_data:
|