Commit Graph
34 Commits
Author SHA1 Message Date
Jannik 7c38da5efc Add Gemini API key to shared.env 2026-10-01 20:05:04 +02:00
Jannik 78d4a4894e feat: Generic service.init system + Hermes setup script
- NEW: services/hermes/service.init — wartet auf Hermes-API, konfiguriert
  Provider aus shared.env (OpenRouter bevorzugt), gibt Dashboard-URL aus
- NEW: services/paperclip/service.init — extrahiert PaperClip-Setup aus
  main() in eigenständiges Skript (Patch, Onboarding, Bootstrap-URL)
- NEW: run_service_inits() in deploy_script.sh — ruft automatisch alle
  service.init-Skripte nach dem Start auf
- CLEANUP: main() in deploy_script.sh ist jetzt schlank und generisch
2026-10-01 20:04:56 +02:00
Jannik 60d48a43b4 refactor: Single source of truth for API keys via services/shared.env
- NEW: services/shared.env.age — encrypted shared API keys (OpenRouter, Mistral, Minimax, Poe)
- REMOVE: services/hermes/.env.age — no service-specific secrets needed
- UPDATE: services/paperclip/.env.age — now only DB password + auth secret
- UPDATE: docker-compose.yml (paperclip + hermes) — use env_file for shared.env
- UPDATE: deploy_script.sh — decrypt shared.env.age first, read API keys from there
- UPDATE: .gitignore — add services/shared.env
- UPDATE: README.md — document shared.env pattern
2026-10-01 19:57:17 +02:00
Jannik 2df8b29470 fix: Change Hermes dashboard URL to hermes.paperclip.orfel.de 2026-10-01 19:51:31 +02:00
Jannik e079b43b14 feat: Add Hermes Agent service
- New service in services/hermes/ with docker-compose.yml
- Uses nousresearch/hermes-agent:latest on paperclip-net
- Hermes reachable internally at http://hermes:8642 (API) and :9119 (dashboard)
- Public dashboard at hermes.orfel.de via Caddy
- .env.age encrypted with age for OPENROUTER_API_KEY
- README updated with Hermes architecture and PaperClip integration guide
2026-10-01 19:50:55 +02:00
Jannik dbeea97898 Update README with LLM configuration and Onboarding workaround instructions 2026-10-01 19:05:50 +02:00
Jannik c1ebd84e11 Patch Paperclip backend to respect OPENAI_BASE_URL during connection validation 2026-10-01 18:58:44 +02:00
Jannik 4d64e09cd6 Auto-configure OpenAI API Key from OpenRouter/Mistral to bypass UI Onboarding screen 2026-10-01 18:45:32 +02:00
Jannik 20a746e6e9 Cleanup debug block output now that the deployment successfully starts and healthchecks pass 2026-10-01 18:37:59 +02:00
Jannik 7b29df68a0 Fix premature Connection Refused by polling for server health instead of a hardcoded 5s sleep, since Paperclip takes ~10-15s to fully start 2026-10-01 18:35:49 +02:00
Jannik 5a04aa0409 Enhance debug output to diagnose Connection Refused despite server logging that it bound to the port 2026-10-01 18:30:55 +02:00
Jannik d2abff8b4d Fix onboard command failing to write config due to 5s timeout; run in background with 15s sleep instead 2026-10-01 18:26:56 +02:00
Jannik a475b9b19c Fix script hanging by adding a 5s timeout to the onboard command, since --yes implicitly starts the server in the foreground 2026-10-01 18:25:10 +02:00
Jannik 6cfe3a375b Fix Paperclip startup crash: authenticated + public exposure requires auth.baseUrlMode=explicit 2026-10-01 18:15:29 +02:00
Jannik c554e74dfb Fix EACCES permission denied by running Paperclip onboard command as node user 2026-10-01 18:13:32 +02:00
Jannik 3c2e9cdf53 Add debug diagnostics to deploy script to troubleshoot 502 2026-10-01 18:10:35 +02:00
Jannik fcba2a3b3a Fix 502 Bad Gateway by ensuring HOST is 0.0.0.0 and auto-generating missing BETTER_AUTH_SECRET 2026-10-01 18:07:37 +02:00
Jannik 183623962f Auto-reload script via exec when git pull fetches updates 2026-10-01 17:59:49 +02:00
Jannik 2a753ffcde Fix onboard command to not force local_trusted mode and restart container 2026-10-01 17:57:47 +02:00
Jannik 62161c98dd Fix onboard command to not force local_trusted mode 2026-10-01 17:57:03 +02:00
Jannik 973727a56d Auto-initialize Paperclip config with onboard command before bootstrapping 2026-10-01 17:53:28 +02:00
Jannik eef9c6caac Update ntfy URL topic to PaperClip 2026-10-01 17:47:38 +02:00
Jannik 7e6b45d6a1 Add ntfy push notifications to deploy script, including bootstrap URL 2026-10-01 17:46:57 +02:00
Jannik f4b8e6dda3 Add automatic Paperclip bootstrap URL generation to deploy script 2026-10-01 17:43:56 +02:00
Jannik 46c72994d8 Fix Paperclip exposure policy to public and map custom OpenCode providers 2026-10-01 17:41:21 +02:00
Jannik 7c2a5013b8 Revert "Update paperclip service to use Gitea registry image"
This reverts commit 9a7842cfcf.
2026-10-01 17:38:27 +02:00
Jannik 9a7842cfcf Update paperclip service to use Gitea registry image 2026-10-01 17:37:22 +02:00
Jannik eaa5d2770b Add fallback to restart caddy if reload fails 2026-10-01 17:35:23 +02:00
Jannik 17ed62fc08 docs: fix repo URL and remove hardcoded age key in README 2026-10-01 17:35:01 +02:00
Jannik 905f066ac7 Fix caddy reload by removing admin off 2026-10-01 17:30:24 +02:00
Jannik af49559498 Configure weekly reboot and system updates in deploy script 2026-10-01 17:29:12 +02:00
Jannik 5e8e2425d3 Add README.md 2026-10-01 17:27:45 +02:00
Jannik fc49ad230f Add paperclip service configuration (Docker Compose, Caddy, .env.age) and update deploy_script.sh 2026-10-01 17:22:55 +02:00
Jannik 6ff71851e3 Add deploy_script.sh and configure caddy volume 2026-10-01 17:18:09 +02:00