Add an Environment tab to /admin that lists every variable in .env.example and lets keys, OAuth settings, email settings and generated secrets be changed without SSH. Secrets are write-only; infrastructure variables are shown read-only. The backend never writes .env or touches Docker. It validates an edit and queues it in env-apply/run/request.json; env-apply/apply.py, run on the host by a systemd path unit (env-apply/install.sh), rewrites .env atomically, keeps .env.bak, and recreates only the services that read the change. backend/services/env_registry.json is the single list of variables, shared by the backend and the host script; a test keeps it in step with .env.example. It replaces the drifted checklist in handle_admin.go. The job capture token card moves to the new tab. Co-Authored-By: Claude Opus 5.5 <[email protected]>
80 lines
1.0 KiB
Plaintext
80 lines
1.0 KiB
Plaintext
icecast2/fallback_music/*
|
|
!icecast2/fallback_music/.gitkeep
|
|
certbot/conf
|
|
certbot/www
|
|
backend/token/
|
|
.env
|
|
.env.bak
|
|
|
|
# Admin panel -> host hand-off (request and status files, holds secrets)
|
|
env-apply/run/*
|
|
!env-apply/run/.gitkeep
|
|
|
|
gitea/data/*
|
|
gitea/config/app.ini
|
|
|
|
# Gitea runner
|
|
gitea-runner/.runner
|
|
gitea-runner/act_runner
|
|
gitea-runner/nohup.out
|
|
|
|
# Rust build artifacts
|
|
**/target/
|
|
|
|
# Python bytecode
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Generated WASM output
|
|
vue/src/wasm/
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
.DS_Store
|
|
dist
|
|
dist-ssr
|
|
coverage
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
.vscode/
|
|
!.vscode/extensions.json
|
|
.idea
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
*.tsbuildinfo
|
|
|
|
.eslintcache
|
|
|
|
# Cypress
|
|
/cypress/videos/
|
|
/cypress/screenshots/
|
|
|
|
# Vitest
|
|
__screenshots__/
|
|
|
|
|
|
.deploy
|
|
*.xcf
|
|
sync-secrets.sh
|
|
|
|
# Local-only outstanding-work notes, deliberately not published
|
|
TODO-NEXT.md
|
|
|
|
# SilverBullet git deploy key (key material only; the README stays)
|
|
silverbullet/ssh/*
|
|
!silverbullet/ssh/README.md
|