Run turnstone-console alongside the server
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.
This commit is contained in:
1 parent
18fdff7d8c
commit
5560055c29
4 files changed
+16
-3
No files matched your search
+2
-2
@@ -8,14 +8,14 @@
|
||||
# Prints a stable tailcat address (saved key at
|
||||
# ~/.config/tailcat/keys/default.private.json). On the client machine:
|
||||
#
|
||||
# tailcat forward <tc-address> 8080:8080 2222:2222
|
||||
# tailcat forward <tc-address> 8080:8080 8090:8090 2222:2222
|
||||
#
|
||||
# then browse http://localhost:8080 and ssh -p 2222 as usual.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
TC="${TAILCAT_BIN:-$HOME/.local/bin/tailcat}"
|
||||
PORTS="${TAILCAT_PORTS:-8080,2222}"
|
||||
PORTS="${TAILCAT_PORTS:-8080,8090,2222}"
|
||||
|
||||
if ! command -v "$TC" >/dev/null 2>&1; then
|
||||
echo "tailcat not found at $TC" >&2
|
||||
|
||||
Reference in new issue
Block a user