chore(dev): vite /app catch-all + filebrowser proxy to mock; demo docs to main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Dorian 2026-07-14 03:39:56 +01:00
parent 5c2622f39a
commit 0a734cb6b2
2 changed files with 11 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# Archipelago Public Demo — build info & status # Archipelago Public Demo — build info & status
**Status:** implemented & deployable (2026-06-22) **Status:** implemented & deployable (2026-07-14)
**Branch:** `demo-build` (worktree `../archy-demo-build`), pushed to **Branch:** `main` — the demo machinery was merged from the old `demo-build`
branch and now lives on main, pushed to
`gitea-vps2` = `http://146.59.87.168:3000/lfg2025/archy.git`. `gitea-vps2` = `http://146.59.87.168:3000/lfg2025/archy.git`.
**Main/prod is untouched** — all demo work lives only on `demo-build`.
A public, click-to-play demo of the Archipelago UI, 100% mock-data driven, A public, click-to-play demo of the Archipelago UI, 100% mock-data driven,
multi-visitor, deployed via Portainer. See also `docs/archive/demo-deployment-design.md` multi-visitor, deployed via Portainer. See also `docs/archive/demo-deployment-design.md`
@ -18,7 +18,7 @@ Build-from-repo (works today, no registry needed):
| Field | Value | | Field | Value |
|-------|-------| |-------|-------|
| Repository URL | `http://146.59.87.168:3000/lfg2025/archy.git` | | Repository URL | `http://146.59.87.168:3000/lfg2025/archy.git` |
| Reference | `refs/heads/demo-build` | | Reference | `refs/heads/main` |
| Compose path | `docker-compose.demo.yml` | | Compose path | `docker-compose.demo.yml` |
| Auth | user `lfg2025`, password = Gitea token | | Auth | user `lfg2025`, password = Gitea token |
| UI port | **2100** · Login password: **`entertoexit`** | | UI port | **2100** · Login password: **`entertoexit`** |

View File

@ -141,8 +141,10 @@ export default defineConfig({
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
}, },
// Mock filebrowser (Cloud page) — same backend as everything else. Point
// BACKEND_URL at a real node to develop against its filebrowser instead.
'/app/filebrowser': { '/app/filebrowser': {
target: 'http://192.168.1.228', target: process.env.BACKEND_URL || 'http://localhost:5959',
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
}, },
@ -158,6 +160,10 @@ export default defineConfig({
'/app/fedimint': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false }, '/app/fedimint': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
'/app/bitcoin-core': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false }, '/app/bitcoin-core': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
'/app/bitcoin-knots': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false }, '/app/bitcoin-knots': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
// Catch-all for the remaining mock app UIs (btcpay-server, grafana, …) and
// the generic "Not available in the demo" notice. Registered after the
// specific /app/* keys so those still win.
'/app': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
'/electrs-status': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false }, '/electrs-status': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
'/proxy': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false }, '/proxy': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
'/lnd-connect-info': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false }, '/lnd-connect-info': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },