Console (cluster dashboard + admin panel) starts as a background daemon under marvin on :8090, sharing the same config.toml and SQLite DB (WAL multi-writer). Forwarded via run.sh and exposed through tailcat; same login as the server.
22 lines
678 B
Bash
Executable File
22 lines
678 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Boot the turnstone VM (foreground; QEMU: ctrl-a x to quit).
|
|
#
|
|
# Web UI: http://localhost:8080
|
|
# Web UI: http://localhost:8080
|
|
# Console: http://localhost:8090
|
|
# Ops SSH: ssh -i configs/ssh/id_ed25519 -p 2222 marvin@localhost
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
mkdir -p data work
|
|
|
|
exec boco boot marvin-turnstone \
|
|
--memory "${VM_MEMORY:-4096M}" \
|
|
--mount-mode direct \
|
|
--forward "tcp:0.0.0.0:8080-:8080" \
|
|
--forward "tcp:0.0.0.0:8090-:8090" \
|
|
--forward "tcp:0.0.0.0:2222-:22" \
|
|
--mount "$PWD/configs/turnstone:/home/marvin/.config/turnstone" \
|
|
--mount "$PWD/data:/var/lib/turnstone" \
|
|
--mount "$PWD/work:/home/marvin/work"
|