Legacy. One outpost instance per extra satellite (this page) is the workaround for daemons that cannot attach to several satellites at once. Current daemons attach singly:
bashy outpost satellite attach(list withbashy outpost satellite list) — see [[kb:satellite-sharing-model-one-owner-mutual-membership-pair-with-your-own-account]]. Kept until concurrent attachments ship; do not build on it.
Goal
Keep one host’s apps reachable through several satellites at once. The main outpost stays paired with its satellite; each extra satellite gets its own outpost instance on the same host, which proxies the same local apps.
Steps
- Get the command from Bashy’s own release-pinned source (every installation can fetch it):
bashy src fetch bashy
bashy commands add outpost-profile \
--set exec.0=bashy --set exec.1=--bashsharp \
--set "exec.2=${BASHY_HOME:-$HOME/.bashy}/src/bashy/examples/outpost-profile/outpost-profile.bsh" \
--set effects.0=read --set effects.1=write --set effects.2=exec
- Pair with the extra satellite as a named profile (one-time pairing code from that satellite; use
--namewhen this machine’s host name is already taken there):
outpost-profile add <name> --code <code> --server <satellite-url> [--name <host>]
- Run that profile as its own instance and publish apps through it.
--appcopies the app entry from the main outpost, including its SSO secret, so the app trusts identities from both satellites:
outpost-profile up <name> --app <app> [--app <app>]...
outpost-profile status
On the extra satellite, share the app with its members as usual.
Remove the instance with
outpost-profile down <name>. The main outpost keeps serving, and the instance config is kept for the nextup.
What to know
- On releases up to rc.27,
outpost-profile addbriefly restarts the host’s main outpost (outpost register applied the pairing to the running daemon); run it outside live use there. From the next release it no longer does. upneeds the release that shipsup/down/status(outpost-profile withcmd_up); older pins only have add/use/list. Check withgrep -c cmd_upon the pinned script, or move the pin withbashy src upgrade bashy.- Each instance has its own config, cache and service-unit store under
profiles/<name>/instance/and its own loopback admin port (from 17778). LAN ssh, mesh, desktop, clipboard, shell, discovery, cluster, the ollama pool, shard and warm stay with the main instance. - The instance runs as the Bashy service
outpost-<name>(restart policy always), so it needs Bashy’s service supervisor. - The same email arriving from two satellites is one app account (Klatch SSO keys accounts by email).
- If the main app entry changes later (for example an SSO secret rotation), run
up <name> --app <app>again; the instance keeps its copy until then. - To adapt the command, shape it like any Bashy source:
bashy src branch bashy <topic>, edit, rungo test ./examples/outpost-profile/, and register that path. - Basic outpost setup (install, pair, apps, built-ins) and the sharing model have their own pages:
set-up-outpost-install-pair-publish-apps-and-keep-a-host-private,satellite-sharing-model-one-owner-mutual-membership-pair-with-your-own-account.