7 Commits

Author SHA1 Message Date
rainyy21 96e608126b add a login and encrypt the .env so people can't get in and still the api key 2026-11-11 17:01:25 -05:00
rainyy21 a54c625d66 Self-update from a configurable remote (SELF_REMOTE), use gitea
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:30:38 -05:00
rainyy21 5f70813202 Move web app up a level, live dashboard refresh, self-update
- web: move app/web/web/* to app/web/, drop the old standalone compose
  file and watcher_additions.py (merged into watcher.py)
- web: /api/version fingerprint of state, config and queued requests;
  the page polls it every 2s and reloads as soon as the watcher acts
- watcher: self-update. When its own branch has a new commit and the
  checkout is clean, start a one-off gitops-watcher-updater container
  that runs git pull + docker compose up -d --build on the host checkout
- watcher: refuse to deploy/stop/remove its own compose project, which
  used to stop the watcher itself mid-way

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:17:05 -05:00
rainyy21 92aba3bf38 finish the ain watcher command and finish the cli, modify the requirement and started a web template, modify the docker file 2026-11-11 00:16:45 -05:00
rainyy21 7b3bf37108 fix up some typo on the docker file and add enviroment 2026-11-10 12:32:08 -05:00
rainyy21 ce29d9ede7 fix up the docker file since i move file aroumd 2026-11-10 10:02:24 -05:00
rainyy21 287ea4b90c move the watcher to a app file and set up docker file and docker compose file 2026-11-09 13:39:25 -05:00