- Add skills for dev-environment debugging, jellycompat diagnosis, Discord triage, and web UI testing under .claude/skills (symlinked as .agents/skills) - Add scripts/silo-dev plus .silo-dev.env.example for driving local or remote Silo deployments - Ignore .silo-dev.env and reference the shared skill config in AGENTS.md
64 lines
2.4 KiB
Bash
64 lines
2.4 KiB
Bash
# Silo agent environment — copy to `.silo-dev.env` and fill in.
|
|
#
|
|
# cp .silo-dev.env.example .silo-dev.env && $EDITOR .silo-dev.env
|
|
#
|
|
# `.silo-dev.env` is gitignored. It is the single place agents and humans look
|
|
# for "which Silo deployment am I debugging, and how do I reach it" — real
|
|
# hosts, tokens, and passwords belong here and nowhere else in the repo.
|
|
#
|
|
# The skills in `.claude/skills/` (also reachable as `.agents/skills/`) read it
|
|
# through `scripts/silo-dev`, which works the same whether your server runs on
|
|
# this machine or over SSH. Nothing here is required to build or run Silo; it
|
|
# only configures debugging against an already-running deployment.
|
|
|
|
# --- The deployment under test -----------------------------------------------
|
|
|
|
# Base URL you reach the server on. A local docker compose install is usually
|
|
# http://localhost:8090; a remote one is whatever you browse to.
|
|
SILO_URL=http://localhost:8090
|
|
|
|
# SSH target for the host running Silo, e.g. root@10.0.0.5 or a ~/.ssh/config
|
|
# alias. Leave empty when Silo runs on this machine — commands then run locally.
|
|
SILO_SSH=
|
|
|
|
# Directory on that host holding docker-compose.yml and .env.
|
|
SILO_DIR=/opt/silo
|
|
|
|
# Compose file, relative to SILO_DIR. Colon-separate to layer overrides.
|
|
SILO_COMPOSE_FILE=docker-compose.yml
|
|
|
|
# Compose service names. Override if your stack renames them.
|
|
SILO_SERVICE=silo
|
|
SILO_POSTGRES_SERVICE=postgres
|
|
|
|
# --- Database ----------------------------------------------------------------
|
|
# Match POSTGRES_USER / POSTGRES_DB in the deployment's own .env.
|
|
|
|
SILO_DB_USER=silo
|
|
SILO_DB_NAME=silo
|
|
|
|
# --- Credentials -------------------------------------------------------------
|
|
# An account on the deployment, used to exercise authenticated API endpoints and
|
|
# to sign in to the web UI while verifying changes. Use a throwaway admin on a
|
|
# dev box, not your production login.
|
|
|
|
SILO_ADMIN_USER=
|
|
SILO_ADMIN_PASSWORD=
|
|
|
|
# --- Optional ----------------------------------------------------------------
|
|
|
|
# Host path the media library is mounted from, for checking that a file exists.
|
|
SILO_MEDIA_ROOT=
|
|
|
|
# SSH target of a separate transcode node, if you run one.
|
|
SILO_TRANSCODE_SSH=
|
|
|
|
# A real Jellyfin server to compare jellycompat responses against, and an
|
|
# account on it. Only needed for the jellycompat-diagnosis skill.
|
|
JELLYFIN_COMPARE_URL=
|
|
JELLYFIN_COMPARE_USER=
|
|
JELLYFIN_COMPARE_PASSWORD=
|
|
|
|
# Scoped Discord bot token for the silo-discord-triage skill.
|
|
DISCORD_BOT_TOKEN=
|