docs(vps): add hyperstition-mcp.service and /mcp reverse-proxy setup to Step 6 of VPS deployment guide (v2.0.10)
This commit is contained in:
1 parent
91bd2839a9
commit
a5a14690bf
2 files changed
+23
-20
No files matched your search
@@ -162,13 +162,16 @@ python3 -m venv .venv
|
||||
# 1. Hydrate /var/www/hyperstitionstud.io/repos and pre-compress (.br / .gz)
|
||||
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh --no-pull
|
||||
|
||||
# 2. Install systemd boot-time tmpfs hydration unit
|
||||
# 2. Install systemd boot-time tmpfs hydration unit & read-only MCP HTTP server unit (127.0.0.1:8095)
|
||||
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/hyperstition-tmpfs-sync.service \
|
||||
/etc/systemd/system/hyperstition-tmpfs-sync.service
|
||||
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/hyperstition-mcp.service \
|
||||
/etc/systemd/system/hyperstition-mcp.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable hyperstition-tmpfs-sync.service
|
||||
sudo systemctl enable --now hyperstition-mcp.service
|
||||
|
||||
# 3. Install Caddyfile, validate syntax, and reload Caddy
|
||||
# 3. Install Caddyfile (with /mcp reverse_proxy -> 127.0.0.1:8095), validate syntax, and reload Caddy
|
||||
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/Caddyfile /etc/caddy/Caddyfile
|
||||
sudo caddy validate --config /etc/caddy/Caddyfile
|
||||
sudo systemctl reload caddy
|
||||
|
||||
Reference in new issue
Block a user